DX: [rector] apply rector rule InlineConstructorDefaultToPropertyRector

This commit is contained in:
2023-03-28 23:20:37 +02:00
parent c5ec0e77ff
commit ea10565e17

View File

@@ -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)