DX: improve typing of a property in UserJob

This commit is contained in:
Julien Fastré 2023-06-23 12:21:13 +02:00
parent 659dff3d2c
commit 51544cfc48
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

View File

@ -37,7 +37,7 @@ class UserJob
protected ?int $id = null;
/**
* @var array|string[]A
* @var array<string, string>
* @ORM\Column(name="label", type="json")
* @Serializer\Groups({"read", "docgen:read"})
* @Serializer\Context({"is-translatable": true}, groups={"docgen:read"})