mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-23 16:13:50 +00:00
Apply rector rules: add annotation for doctrine mapping
This commit is contained in:
@@ -17,10 +17,6 @@ use Symfony\Component\Serializer\Annotation\Groups;
|
||||
|
||||
/**
|
||||
* Country.
|
||||
*
|
||||
*
|
||||
*
|
||||
*
|
||||
*/
|
||||
#[ORM\Entity]
|
||||
#[ORM\Cache(usage: 'READ_ONLY', region: 'country_cache_region')]
|
||||
@@ -33,7 +29,6 @@ class Country
|
||||
#[Context(['is-translatable' => true], groups: ['docgen:read'])]
|
||||
private string $countryCode = '';
|
||||
|
||||
|
||||
#[Groups(['read', 'docgen:read'])]
|
||||
#[ORM\Id]
|
||||
#[ORM\Column(name: 'id', type: \Doctrine\DBAL\Types\Types::INTEGER)]
|
||||
@@ -42,7 +37,6 @@ class Country
|
||||
|
||||
/**
|
||||
* @var array<string, string>
|
||||
*
|
||||
*/
|
||||
#[Groups(['read', 'docgen:read'])]
|
||||
#[ORM\Column(type: \Doctrine\DBAL\Types\Types::JSON)]
|
||||
|
Reference in New Issue
Block a user