Skip to content

Commit c7160bc

Browse files
authored
Apply suggestion from @greg0ire
1 parent 7cc80ec commit c7160bc

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

tests/Tests/Mapping/LegacyReflectionFieldsTest.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,10 @@ class ReadOnlyProperty
8484
#[Id]
8585
public string $id;
8686

87-
public function __construct(#[Field]
88-
public readonly string $name,)
87+
public function __construct(
88+
#[Field]
89+
public readonly string $name
90+
)
8991
{
9092
}
9193
}

0 commit comments

Comments
 (0)