Apply rector rules: add annotation for doctrine mapping

This commit is contained in:
2024-04-05 00:19:30 +02:00
parent 72016e1a21
commit a3f775a69b
23 changed files with 39 additions and 93 deletions

View File

@@ -237,10 +237,8 @@ final class DocGenObjectNormalizerTest extends KernelTestCase
class TestableParentClass
{
/**
* @Serializer\Context(normalizationContext={"groups": "docgen:read:foo"}, groups={"docgen:read"})
*/
#[Serializer\Groups('docgen:read')]
#[Serializer\Context(normalizationContext: ['groups' => 'docgen:read:foo'], groups: ['docgen:read'])]
public ?TestableChildClass $child;
public function __construct()