mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
csfixes
This commit is contained in:
parent
283b378291
commit
8b37f008e6
@ -11,7 +11,6 @@ declare(strict_types=1);
|
|||||||
|
|
||||||
namespace Chill\BudgetBundle\Repository;
|
namespace Chill\BudgetBundle\Repository;
|
||||||
|
|
||||||
use Chill\PersonBundle\Entity\Household\Household;
|
|
||||||
use Chill\PersonBundle\Entity\Person;
|
use Chill\PersonBundle\Entity\Person;
|
||||||
use DateTime;
|
use DateTime;
|
||||||
use Doctrine\ORM\EntityRepository;
|
use Doctrine\ORM\EntityRepository;
|
||||||
@ -24,7 +23,6 @@ use Doctrine\ORM\EntityRepository;
|
|||||||
*/
|
*/
|
||||||
class ChargeRepository extends EntityRepository
|
class ChargeRepository extends EntityRepository
|
||||||
{
|
{
|
||||||
|
|
||||||
public function findByEntityAndDate($entity, DateTime $date, $sort = null)
|
public function findByEntityAndDate($entity, DateTime $date, $sort = null)
|
||||||
{
|
{
|
||||||
$qb = $this->createQueryBuilder('c');
|
$qb = $this->createQueryBuilder('c');
|
||||||
@ -46,5 +44,4 @@ class ChargeRepository extends EntityRepository
|
|||||||
|
|
||||||
return $qb->getQuery()->getResult();
|
return $qb->getQuery()->getResult();
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -23,7 +23,6 @@ use Doctrine\ORM\EntityRepository;
|
|||||||
*/
|
*/
|
||||||
class ResourceRepository extends EntityRepository
|
class ResourceRepository extends EntityRepository
|
||||||
{
|
{
|
||||||
|
|
||||||
public function findByEntityAndDate($entity, DateTime $date, $sort = null)
|
public function findByEntityAndDate($entity, DateTime $date, $sort = null)
|
||||||
{
|
{
|
||||||
$qb = $this->createQueryBuilder('c');
|
$qb = $this->createQueryBuilder('c');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user