mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
apply rules rector up to php82
This commit is contained in:
@@ -28,11 +28,11 @@ use function spl_object_hash;
|
||||
|
||||
class MembersEditor
|
||||
{
|
||||
public const VALIDATION_GROUP_AFFECTED = 'household_memberships';
|
||||
final public const VALIDATION_GROUP_AFFECTED = 'household_memberships';
|
||||
|
||||
public const VALIDATION_GROUP_COMPOSITION = 'household_composition';
|
||||
final public const VALIDATION_GROUP_COMPOSITION = 'household_composition';
|
||||
|
||||
public const VALIDATION_GROUP_CREATED = 'household_memberships_created';
|
||||
final public const VALIDATION_GROUP_CREATED = 'household_memberships_created';
|
||||
|
||||
private array $events = [];
|
||||
|
||||
@@ -42,7 +42,7 @@ class MembersEditor
|
||||
|
||||
private array $persistables = [];
|
||||
|
||||
public function __construct(private ValidatorInterface $validator, private ?\Chill\PersonBundle\Entity\Household\Household $household, private EventDispatcherInterface $eventDispatcher)
|
||||
public function __construct(private readonly ValidatorInterface $validator, private readonly ?\Chill\PersonBundle\Entity\Household\Household $household, private readonly EventDispatcherInterface $eventDispatcher)
|
||||
{
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user