Skip to content

Commit 2387855

Browse files
committed
Fixed build
1 parent 9f84eb7 commit 2387855

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

tests/Sniffs/PHP/data/uselessParenthesesNoErrors.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,9 @@ function () {
119119
'a',
120120
] + $defaults('b'));
121121

122-
$y = (yield from whatever()) ?? $y;
122+
function () {
123+
$y = (yield from whatever()) ?? $y;
124+
};
123125

124126
// Must be last
125127
return true

0 commit comments

Comments
 (0)