fixes after merge of master into upgrade-sf4

This commit is contained in:
2024-02-12 22:31:16 +01:00
parent 37af488f69
commit f889d67e94
664 changed files with 795 additions and 1980 deletions

View File

@@ -37,9 +37,7 @@ class AccompanyingPeriodPrivacyEvent extends \Symfony\Contracts\EventDispatcher\
{
final public const ACCOMPANYING_PERIOD_PRIVACY_EVENT = 'chill_person.accompanying_period_privacy_event';
public function __construct(protected $period, protected $args = [])
{
}
public function __construct(protected $period, protected $args = []) {}
public function getArgs(): array
{

View File

@@ -48,9 +48,7 @@ class PrivacyEvent extends \Symfony\Contracts\EventDispatcher\Event
/**
* PrivacyEvent constructor.
*/
public function __construct(private readonly Person $person, private readonly array $args = ['action' => 'show'])
{
}
public function __construct(private readonly Person $person, private readonly array $args = ['action' => 'show']) {}
public function addPerson(Person $person)
{