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 1303f7d commit 6524ae8Copy full SHA for 6524ae8
tests/ReflectionClosure2Test.php
@@ -149,7 +149,8 @@
149
150
test('anonymous inside closure', function () {
151
$f1 = function () {
152
- return new class() extends A {
+ return new class() extends A
153
+ {
154
};
155
156
$e1 = 'function () {
@@ -159,7 +160,8 @@
159
160
}';
161
162
$f2 = function () {
- return new class() extends A implements B {
163
+ return new class() extends A implements B
164
165
166
167
$e2 = 'function () {
@@ -277,7 +279,8 @@ public function x(\A $a): \B
277
279
function a(Qux $q): Bar
278
280
{
281
f1();
- $a = new class() extends Bar {
282
+ $a = new class() extends Bar
283
284
285
}
286
0 commit comments