mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-05 22:35:01 +00:00
upgrade php-cs 3.49
This commit is contained in:
@@ -53,7 +53,7 @@ class MembersEditor
|
||||
* If the person is also a member of another household, or the same household at the same position, the person
|
||||
* is not associated any more with the previous household.
|
||||
*/
|
||||
public function addMovement(\DateTimeImmutable $date, Person $person, ?Position $position, ?bool $holder = false, string $comment = null): self
|
||||
public function addMovement(\DateTimeImmutable $date, Person $person, ?Position $position, ?bool $holder = false, ?string $comment = null): self
|
||||
{
|
||||
if (null === $this->household) {
|
||||
throw new \LogicException('You must define a household first');
|
||||
|
@@ -21,7 +21,7 @@ class MembersEditorFactory
|
||||
{
|
||||
}
|
||||
|
||||
public function createEditor(Household $household = null): MembersEditor
|
||||
public function createEditor(?Household $household = null): MembersEditor
|
||||
{
|
||||
return new MembersEditor($this->validator, $household, $this->eventDispatcher);
|
||||
}
|
||||
|
Reference in New Issue
Block a user