mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-29 11:03:50 +00:00
Apply rector rules: add annotation for doctrine mapping
This commit is contained in:
@@ -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()
|
||||
|
Reference in New Issue
Block a user