mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-08 07:44:59 +00:00
Rector: apply rules for doctrine code quality
This commit is contained in:
@@ -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;
|
||||
|
||||
/**
|
||||
*
|
||||
|
Reference in New Issue
Block a user