apply rector rules

This commit is contained in:
2023-07-28 02:40:02 +02:00
parent 157cdf6dfc
commit f570fe92a5
112 changed files with 252 additions and 562 deletions

View File

@@ -36,7 +36,7 @@ class SocialIssue
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $desactivationDate;
private ?\DateTimeInterface $desactivationDate = null;
/**
* @ORM\Id
@@ -53,7 +53,7 @@ class SocialIssue
/**
* @ORM\ManyToOne(targetEntity=SocialIssue::class, inversedBy="children")
*/
private $parent;
private ?\Chill\PersonBundle\Entity\SocialWork\SocialIssue $parent = null;
/**
* @var Collection<SocialAction>
@@ -65,7 +65,7 @@ class SocialIssue
* @ORM\Column(type="json")
* @Groups({"read"})
*/
private $title = [];
private array $title = [];
public function __construct()
{