Skip to content

Commit fc3183f

Browse files
committed
Apply fixes from StyleCI
1 parent 6524ae8 commit fc3183f

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

tests/ReflectionClosure2Test.php

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -149,8 +149,7 @@
149149

150150
test('anonymous inside closure', function () {
151151
$f1 = function () {
152-
return new class() extends A
153-
{
152+
return new class() extends A {
154153
};
155154
};
156155
$e1 = 'function () {
@@ -160,8 +159,7 @@
160159
}';
161160

162161
$f2 = function () {
163-
return new class() extends A implements B
164-
{
162+
return new class() extends A implements B {
165163
};
166164
};
167165
$e2 = 'function () {
@@ -279,8 +277,7 @@ public function x(\A $a): \B
279277
function a(Qux $q): Bar
280278
{
281279
f1();
282-
$a = new class() extends Bar
283-
{
280+
$a = new class() extends Bar {
284281
};
285282
}
286283
};

0 commit comments

Comments
 (0)