mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2026-02-27 18:49:41 +00:00
Rector php82 changes
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user