mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-10-04 12:29:43 +00:00
Rector changes return typing
This commit is contained in:
@@ -45,7 +45,7 @@ class ChargeRepository extends ServiceEntityRepository
|
||||
return $qb->getQuery()->getResult();
|
||||
}
|
||||
|
||||
public function findByEntityAndDate($entity, \DateTime $date, $sort = null)
|
||||
public function findByEntityAndDate($entity, \DateTime $date, $sort = null): mixed
|
||||
{
|
||||
$qb = $this->createQueryBuilder('c');
|
||||
|
||||
|
@@ -45,7 +45,7 @@ class ResourceRepository extends ServiceEntityRepository
|
||||
return $qb->getQuery()->getResult();
|
||||
}
|
||||
|
||||
public function findByEntityAndDate(Household|Person $entity, \DateTime $date, $sort = null)
|
||||
public function findByEntityAndDate(Household|Person $entity, \DateTime $date, $sort = null): mixed
|
||||
{
|
||||
$qb = $this->createQueryBuilder('c');
|
||||
|
||||
|
Reference in New Issue
Block a user