This commit is contained in:
Simon Vieille 2022-04-15 17:15:11 +02:00
parent b627388ef4
commit f97e7baa98
Signed by: deblan
GPG key ID: 03383D15A1D31745

View file

@ -94,7 +94,7 @@ class Debriefing implements EntityInterface
*/ */
public function getProjects(): Collection public function getProjects(): Collection
{ {
return $this->projects; return $this->projects ?? new ArrayCollection();
} }
public function addProject(Project $project): self public function addProject(Project $project): self