Skip to content

Commit b0d11fd

Browse files
committed
chore: run Rector for rules ReadOnlyAnonymousClassRector
1 parent 31259ed commit b0d11fd

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

‎tests/system/Entity/EntityTest.php‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2812,8 +2812,8 @@ public function testHasChangedWithValueObjectsUsingToString(): void
28122812
$emailClass = new class () {
28132813
public static function create(string $email): object
28142814
{
2815-
return new class ($email) {
2816-
public function __construct(private readonly string $email)
2815+
return new readonly class ($email) {
2816+
public function __construct(private string $email)
28172817
{
28182818
}
28192819

0 commit comments

Comments
 (0)