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.
1 parent c4eefdf commit 08a98adCopy full SHA for 08a98ad
tests/Core/File/IsReferenceTest.inc
@@ -12,7 +12,7 @@ $a = [ $something & $somethingElse ];
12
$a = [ $first, $something & self::$somethingElse ];
13
14
/* testBitwiseAndD */
15
-$a = array $first, $something & $somethingElse );
+$a = array( $first, $something & $somethingElse );
16
17
/* testBitwiseAndE */
18
$a = [ 'a' => $first, 'b' => $something & $somethingElse ];
@@ -51,7 +51,7 @@ function myFunction(array &$one) {}
51
$closure = function (\MyClass &$one) {};
52
53
/* testFunctionPassByReferenceG */
54
-$closure = function myFunc($param, &...$moreParams) {};
+$closure = function ($param, &...$moreParams) {};
55
56
/* testForeachValueByReference */
57
foreach( $array as $key => &$value ) {}
0 commit comments