mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-01-04 08:21:22 +00:00
Apply rector rules: add annotation for doctrine mapping
This commit is contained in:
@@ -33,11 +33,10 @@ class UserJob
|
||||
/**
|
||||
* @var array<string, string>
|
||||
*
|
||||
*
|
||||
* @Serializer\Context({"is-translatable": true}, groups={"docgen:read"})
|
||||
*/
|
||||
#[Serializer\Groups(['read', 'docgen:read'])]
|
||||
#[ORM\Column(name: 'label', type: \Doctrine\DBAL\Types\Types::JSON)]
|
||||
#[Serializer\Context(['is-translatable' => true], groups: ['docgen:read'])]
|
||||
protected array $label = [];
|
||||
|
||||
public function getId(): ?int
|
||||
|
||||
Reference in New Issue
Block a user