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