mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-25 08:05:00 +00:00
Rector: apply rules for doctrine code quality
This commit is contained in:
@@ -29,7 +29,7 @@ class PersonAltName
|
||||
* @ORM\Id
|
||||
* @ORM\GeneratedValue(strategy="AUTO")
|
||||
*/
|
||||
private $id;
|
||||
private ?int $id = null;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
@@ -37,7 +37,7 @@ class PersonAltName
|
||||
* @ORM\Column(name="key", type="string", length=255)
|
||||
* @Groups({"write"})
|
||||
*/
|
||||
private $key;
|
||||
private ?string $key = null;
|
||||
|
||||
/**
|
||||
* @var string
|
||||
@@ -45,7 +45,7 @@ class PersonAltName
|
||||
* @ORM\Column(name="label", type="text")
|
||||
* @Groups({"write"})
|
||||
*/
|
||||
private $label;
|
||||
private ?string $label = null;
|
||||
|
||||
/**
|
||||
* @ORM\ManyToOne(
|
||||
|
Reference in New Issue
Block a user