DX: [rector] apply rector rule InlineConstructorDefaultToPropertyRector

This commit is contained in:
Julien Fastré 2023-03-28 23:20:37 +02:00
parent c5ec0e77ff
commit ea10565e17
Signed by: julienfastre
GPG Key ID: BDE2190974723FCB

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)