Upgrade changes from master to last rector rules

This commit is contained in:
2023-09-12 15:31:20 +02:00
parent 9375d50112
commit 899ed5d0a4
4 changed files with 80 additions and 124 deletions

View File

@@ -42,8 +42,11 @@ class MembersEditor
private array $persistables = [];
public function __construct(private readonly ValidatorInterface $validator, private readonly ?\Chill\PersonBundle\Entity\Household\Household $household, private readonly EventDispatcherInterface $eventDispatcher)
{
public function __construct(
private readonly ValidatorInterface $validator,
private readonly ?\Chill\PersonBundle\Entity\Household\Household $household,
private readonly EventDispatcherInterface $eventDispatcher
) {
}
/**
@@ -160,8 +163,6 @@ class MembersEditor
*
* Makes a person leave the household **associated with this editor**.
*
* @param DateTimeImmutable $date
* @param Person $person
* @return $this
*/
public function leaveMovement(