From 88059884ec5899ae12f20153a6fc2587e731204a Mon Sep 17 00:00:00 2001 From: nobohan Date: Tue, 22 Feb 2022 12:40:46 +0100 Subject: [PATCH] fix unused imports --- .../Controller/SocialIssueApiController.php | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/src/Bundle/ChillPersonBundle/Controller/SocialIssueApiController.php b/src/Bundle/ChillPersonBundle/Controller/SocialIssueApiController.php index ed2b3122c..ef3ed0a96 100644 --- a/src/Bundle/ChillPersonBundle/Controller/SocialIssueApiController.php +++ b/src/Bundle/ChillPersonBundle/Controller/SocialIssueApiController.php @@ -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(