apply rector rules

This commit is contained in:
2025-10-30 01:20:52 +01:00
parent 7a790d43ec
commit 14d65fa931
91 changed files with 306 additions and 571 deletions

View File

@@ -22,6 +22,8 @@ use Doctrine\Persistence\ManagerRegistry;
*
* This class was generated by the Doctrine ORM. Add your own custom
* repository methods below.
*
* @extends \Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository<\Chill\BudgetBundle\Entity\Charge>
*/
class ChargeRepository extends ServiceEntityRepository
{
@@ -59,10 +61,7 @@ class ChargeRepository extends ServiceEntityRepository
$qb->orderBy($sort);
}
$qb->setParameters([
'entity' => $entity,
'date' => $date,
]);
$qb->setParameters(new \Doctrine\Common\Collections\ArrayCollection([new \Doctrine\ORM\Query\Parameter('entity', $entity), new \Doctrine\ORM\Query\Parameter('date', $date)]));
return $qb->getQuery()->getResult();
}