mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 11:33:49 +00:00
apply more cs rules for php-cs
This commit is contained in:
@@ -12,8 +12,8 @@ declare(strict_types=1);
|
||||
namespace Chill\PersonBundle\Repository\Household;
|
||||
|
||||
use Chill\PersonBundle\Entity\Household\Position;
|
||||
//use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
|
||||
//use Doctrine\Persistence\ManagerRegistry;
|
||||
// use Doctrine\Bundle\DoctrineBundle\Repository\ServiceEntityRepository;
|
||||
// use Doctrine\Persistence\ManagerRegistry;
|
||||
use Doctrine\ORM\EntityManagerInterface;
|
||||
use Doctrine\ORM\EntityRepository;
|
||||
use Doctrine\Persistence\ObjectRepository;
|
||||
@@ -28,8 +28,6 @@ final class PositionRepository implements ObjectRepository
|
||||
}
|
||||
|
||||
/**
|
||||
* @param mixed $id
|
||||
*
|
||||
* @return Position
|
||||
*/
|
||||
public function find($id)
|
||||
@@ -51,7 +49,7 @@ final class PositionRepository implements ObjectRepository
|
||||
*
|
||||
* @return Position[]
|
||||
*/
|
||||
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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user