Rector: apply rules for doctrine code quality

This commit is contained in:
2023-08-31 10:35:52 +02:00
parent bc9b7b1776
commit e4e52234ad
32 changed files with 74 additions and 92 deletions

View File

@@ -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(