fix unused imports

This commit is contained in:
nobohan 2022-02-22 12:40:46 +01:00
parent ce1d213082
commit 88059884ec

View File

@ -12,30 +12,15 @@ declare(strict_types=1);
namespace Chill\PersonBundle\Controller;
use Chill\MainBundle\CRUD\Controller\ApiController;
use Chill\MainBundle\Doctrine\ORM\Hydration\FlatHierarchyEntityHydrator;
use Chill\MainBundle\Pagination\PaginatorInterface;
use Chill\MainBundle\Serializer\Model\Collection;
use Chill\PersonBundle\Entity\SocialWork\SocialIssue;
use DateTimeImmutable;
use Doctrine\ORM\Query;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\HttpFoundation\Request;
use Symfony\Component\HttpFoundation\Response;
use Symfony\Component\Serializer\SerializerInterface;
//class SocialIssueApiController extends ApiController
class SocialIssueApiController extends ApiController
{
private SerializerInterface $serializer;
public function __construct(
SerializerInterface $serializer
) {
$this->serializer = $serializer;
}
protected function customizeQuery(string $action, Request $request, $query): void
{
$query->where(