mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 14:25:00 +00:00
DX: rector rules upt to PHP 74
This commit is contained in:
@@ -50,7 +50,7 @@ class PersonCurrentAddress
|
||||
/**
|
||||
* @ORM\Column(name="valid_to", type="date_immutable")
|
||||
*/
|
||||
protected ?DateTimeImmutable $validTo;
|
||||
protected ?DateTimeImmutable $validTo = null;
|
||||
|
||||
public function getAddress(): Address
|
||||
{
|
||||
|
@@ -55,7 +55,7 @@ class PersonResource implements TrackCreationInterface, TrackUpdateInterface
|
||||
* @ORM\Column(type="integer")
|
||||
* @Groups({"read", "docgen:read"})
|
||||
*/
|
||||
private ?int $id;
|
||||
private ?int $id = null;
|
||||
|
||||
/**
|
||||
* @ORM\ManyToOne(targetEntity=PersonResourceKind::class, inversedBy="personResources")
|
||||
|
Reference in New Issue
Block a user