File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class ClassLoaderTest extends TestCase
2828{
2929 public function testDotEnv ()
3030 {
31- $ class = new class () extends ClassLoader {
31+ $ class = new class extends ClassLoader {
3232 public function __construct ()
3333 {
3434 }
Original file line number Diff line number Diff line change @@ -100,11 +100,11 @@ public function testSerialize()
100100
101101 public function testLazyLoadWithMagicCall ()
102102 {
103- $ class1 = new class () extends FooLazyLoad {
103+ $ class1 = new class extends FooLazyLoad {
104104 use LazyProxyTrait;
105105 };
106106
107- $ class2 = new class () extends BarLazyLoad {
107+ $ class2 = new class extends BarLazyLoad {
108108 use LazyProxyTrait;
109109 };
110110
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class Bar5
1616{
1717 public function getBar (): Bar
1818 {
19- return new class () extends Bar {
19+ return new class extends Bar {
2020 public function __construct ()
2121 {
2222 $ this ->id = 9501 ;
You can’t perform that action at this time.
0 commit comments