We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8c92e99 + 8a5febb commit 6f8c2d9Copy full SHA for 6f8c2d9
tests/fixtures/argument-type-declaration.php
@@ -300,6 +300,21 @@ function (PHPUnit\Exception $meh = null) use ($baz)
300
}
301
302
303
+ // @phpcsWarningOnNextLine
304
+ public function d(...$foo) {
305
+
306
+ }
307
308
309
+ public function e(...$foo) {
310
+ $bar = [1, 2, 3];
311
312
313
+ return function (...$bar) {
314
315
+ };
316
317
318
public function buildCallback(): callable {
319
320
/**
0 commit comments