mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-20 21:54:59 +00:00
apply rules rector up to php82
This commit is contained in:
@@ -44,7 +44,7 @@ use function count;
|
||||
*/
|
||||
class PrivacyEvent extends Event
|
||||
{
|
||||
public const PERSON_PRIVACY_EVENT = 'chill_person.privacy_event';
|
||||
final public const PERSON_PRIVACY_EVENT = 'chill_person.privacy_event';
|
||||
|
||||
/**
|
||||
* @var array
|
||||
@@ -54,7 +54,7 @@ class PrivacyEvent extends Event
|
||||
/**
|
||||
* PrivacyEvent constructor.
|
||||
*/
|
||||
public function __construct(private Person $person, private array $args = ['action' => 'show'])
|
||||
public function __construct(private readonly Person $person, private readonly array $args = ['action' => 'show'])
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user