mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
DX: [rector] apply rector rule InlineConstructorDefaultToPropertyRector
This commit is contained in:
parent
c5ec0e77ff
commit
ea10565e17
@ -59,7 +59,7 @@ class PrivacyEvent extends Event
|
|||||||
/**
|
/**
|
||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
private $persons;
|
private $persons = [];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* PrivacyEvent constructor.
|
* PrivacyEvent constructor.
|
||||||
@ -68,7 +68,6 @@ class PrivacyEvent extends Event
|
|||||||
{
|
{
|
||||||
$this->person = $person;
|
$this->person = $person;
|
||||||
$this->args = $args;
|
$this->args = $args;
|
||||||
$this->persons = [];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public function addPerson(Person $person)
|
public function addPerson(Person $person)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user