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

@@ -34,7 +34,7 @@ class AsideActivity implements TrackCreationInterface, TrackUpdateInterface
/**
* @ORM\Column(type="datetime")
*/
private $createdAt;
private ?\DateTimeInterface $createdAt = null;
/**
* @ORM\ManyToOne(targetEntity=User::class)
@@ -45,7 +45,7 @@ class AsideActivity implements TrackCreationInterface, TrackUpdateInterface
/**
* @ORM\Column(type="datetime")
*/
private $date;
private ?\DateTimeInterface $date = null;
/**
* @ORM\Column(type="time", nullable=true)
@@ -62,23 +62,23 @@ class AsideActivity implements TrackCreationInterface, TrackUpdateInterface
/**
* @ORM\Column(type="string", length=100, nullable=true)
*/
private $location;
private ?string $location = null;
/**
* @ORM\Column(type="text", nullable=true)
*/
private $note;
private ?string $note = null;
/**
* @ORM\ManyToOne(targetEntity=AsideActivityCategory::class, inversedBy="asideActivities")
* @ORM\JoinColumn(nullable=false)
*/
private $type;
private ?\Chill\AsideActivityBundle\Entity\AsideActivityCategory $type = null;
/**
* @ORM\Column(type="datetime", nullable=true)
*/
private $updatedAt;
private ?\DateTimeInterface $updatedAt = null;
/**
* @ORM\ManyToOne(targetEntity=User::class)