Skip to content

Commit a65c806

Browse files
authored
Format code (#6994)
1 parent 4b85897 commit a65c806

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

tests/ClassLoaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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
}

tests/LazyProxyTraitTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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

tests/Stub/Ast/Bar5.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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;

0 commit comments

Comments
 (0)