diff --git a/src/Bundle/ChillPersonBundle/Privacy/PrivacyEvent.php b/src/Bundle/ChillPersonBundle/Privacy/PrivacyEvent.php index 7168a9703..b691c4e89 100644 --- a/src/Bundle/ChillPersonBundle/Privacy/PrivacyEvent.php +++ b/src/Bundle/ChillPersonBundle/Privacy/PrivacyEvent.php @@ -59,7 +59,7 @@ class PrivacyEvent extends Event /** * @var array */ - private $persons; + private $persons = []; /** * PrivacyEvent constructor. @@ -68,7 +68,6 @@ class PrivacyEvent extends Event { $this->person = $person; $this->args = $args; - $this->persons = []; } public function addPerson(Person $person)