diff --git a/tests/AutoMapperTest/ArrayNotNested/map.php b/tests/AutoMapperTest/ArrayNotNested/map.php index 80c0d1da..be377bda 100644 --- a/tests/AutoMapperTest/ArrayNotNested/map.php +++ b/tests/AutoMapperTest/ArrayNotNested/map.php @@ -11,6 +11,7 @@ class UserApiResource public array $roles; // ["ROLE_USER"] } +#[\AllowDynamicProperties] class UserEntity { public function setRoles(array $roles)