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

@@ -65,7 +65,7 @@ class PostalCode implements TrackUpdateInterface, TrackCreationInterface
* @ORM\Column(type="string", length=100)
* @groups({"write", "read"})
*/
private $code;
private ?string $code = null;
/**
*
@@ -87,7 +87,7 @@ class PostalCode implements TrackUpdateInterface, TrackCreationInterface
* @ORM\GeneratedValue(strategy="AUTO")
* @groups({"write", "read"})
*/
private $id;
private ?int $id = null;
/**
* @var string
@@ -95,7 +95,7 @@ class PostalCode implements TrackUpdateInterface, TrackCreationInterface
* @ORM\Column(type="string", length=255, name="label")
* @groups({"write", "read"})
*/
private $name;
private ?string $name = null;
/**
*