fix: Fix bug reported by the tests.

This commit is contained in:
Pol Dellaiera
2021-11-18 12:18:16 +01:00
parent 11ad94ee09
commit 1e05bd31d8

View File

@@ -44,7 +44,7 @@ class AsideActivityCategory
* @ORM\ManyToOne(targetEntity=AsideActivityCategory::class, inversedBy="children")
* @ORM\JoinColumn(nullable=true)
*/
private AsideActivityCategory $parent;
private ?AsideActivityCategory $parent = null;
/**
* @ORM\OneToMany(targetEntity=AsideActivityCategory::class, mappedBy="parent")