Skip to content

Commit 2b9dcff

Browse files
committed
chore: run Rector for rules ReadOnlyAnonymousClassRector
1 parent 5de042a commit 2b9dcff

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
@@ -2697,8 +2697,8 @@ public function testHasChangedWithValueObjectsUsingToString(): void
26972697
$emailClass = new class () {
26982698
public static function create(string $email): object
26992699
{
2700-
return new class ($email) {
2701-
public function __construct(private readonly string $email)
2700+
return new readonly class ($email) {
2701+
public function __construct(private string $email)
27022702
{
27032703
}
27042704

0 commit comments

Comments
 (0)