fix bug
This commit is contained in:
parent
b627388ef4
commit
f97e7baa98
|
@ -94,7 +94,7 @@ class Debriefing implements EntityInterface
|
|||
*/
|
||||
public function getProjects(): Collection
|
||||
{
|
||||
return $this->projects;
|
||||
return $this->projects ?? new ArrayCollection();
|
||||
}
|
||||
|
||||
public function addProject(Project $project): self
|
||||
|
|
Loading…
Reference in a new issue