Rector php82 changes

This commit is contained in:
2025-10-02 16:19:16 +02:00
parent f2922018ce
commit 4a08de09b8
18 changed files with 30 additions and 36 deletions

View File

@@ -50,7 +50,7 @@ final readonly class HouseholdRepository implements ObjectRepository
$this->em = $entityManager;
}
public function countByAccompanyingPeriodParticipation(Person $person)
public function countByAccompanyingPeriodParticipation(Person $person): mixed
{
return $this->buildQueryByAccompanyingPeriodParticipation($person, true);
}
@@ -70,7 +70,7 @@ final readonly class HouseholdRepository implements ObjectRepository
return $this->repository->findBy($criteria, $orderBy, $limit, $offset);
}
public function findByAccompanyingPeriodParticipation(Person $person, int $limit, int $offset)
public function findByAccompanyingPeriodParticipation(Person $person, int $limit, int $offset): mixed
{
return $this->buildQueryByAccompanyingPeriodParticipation($person, false, $limit, $offset);
}