mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 11:33:49 +00:00
upgrade php-cs 3.49
This commit is contained in:
@@ -49,7 +49,7 @@ final class HouseholdCompositionRepository implements HouseholdCompositionReposi
|
||||
*
|
||||
* @return array|object[]|HouseholdComposition[]
|
||||
*/
|
||||
public function findBy(array $criteria, array $orderBy = null, $limit = null, $offset = null): array
|
||||
public function findBy(array $criteria, ?array $orderBy = null, $limit = null, $offset = null): array
|
||||
{
|
||||
return $this->repository->findBy($criteria, $orderBy, $limit, $offset);
|
||||
}
|
||||
@@ -57,7 +57,7 @@ final class HouseholdCompositionRepository implements HouseholdCompositionReposi
|
||||
/**
|
||||
* @return array|HouseholdComposition[]|object[]
|
||||
*/
|
||||
public function findByHousehold(Household $household, array $orderBy = null, int $limit = null, int $offset = null): array
|
||||
public function findByHousehold(Household $household, ?array $orderBy = null, ?int $limit = null, ?int $offset = null): array
|
||||
{
|
||||
return $this->findBy(['household' => $household], $orderBy, $limit, $offset);
|
||||
}
|
||||
|
Reference in New Issue
Block a user