Skip to content

Commit 6f8c2d9

Browse files
committed
Merge branch 'feature/60' into feature/59
2 parents 8c92e99 + 8a5febb commit 6f8c2d9

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

tests/fixtures/argument-type-declaration.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,21 @@ function (PHPUnit\Exception $meh = null) use ($baz)
300300
}
301301
}
302302

303+
// @phpcsWarningOnNextLine
304+
public function d(...$foo) {
305+
306+
}
307+
308+
// @phpcsWarningOnNextLine
309+
public function e(...$foo) {
310+
$bar = [1, 2, 3];
311+
312+
// @phpcsWarningOnNextLine
313+
return function (...$bar) {
314+
315+
};
316+
}
317+
303318
public function buildCallback(): callable {
304319

305320
/**

0 commit comments

Comments
 (0)