mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-21 07:03:49 +00:00
cs: Fix code-style (using PHPCSFixer and PHPCS).
This commit is contained in:
@@ -24,6 +24,7 @@ use Doctrine\ORM\Mapping as ORM;
|
||||
use Symfony\Component\Serializer\Annotation as Serializer;
|
||||
use Symfony\Component\Validator\Constraints as Assert;
|
||||
use Symfony\Component\Validator\Context\ExecutionContextInterface;
|
||||
|
||||
use function count;
|
||||
|
||||
/**
|
||||
@@ -254,7 +255,9 @@ class Household
|
||||
public function getCurrentPersons(?DateTimeImmutable $now = null): Collection
|
||||
{
|
||||
return $this->getCurrentMembers($now)
|
||||
->map(static function (HouseholdMember $m) { return $m->getPerson(); });
|
||||
->map(static function (HouseholdMember $m) {
|
||||
return $m->getPerson();
|
||||
});
|
||||
}
|
||||
|
||||
public function getId(): ?int
|
||||
|
Reference in New Issue
Block a user