Completed
Push — master ( 201948...c76e97 )
by Valentyn
04:58
created
src/Users/Controller/WatchedMovieController.php 1 patch
Unused Use Statements   -7 removed lines patch added patch discarded remove patch
@@ -4,23 +4,16 @@
 block discarded – undo
4 4
 
5 5
 use App\Controller\BaseController;
6 6
 use App\Guests\Entity\GuestSession;
7
-use App\Movies\DTO\WatchedMovieDTO;
8 7
 use App\Movies\Entity\Movie;
9 8
 use App\Pagination\PaginatedCollection;
10
-use App\Pagination\PaginatorBuilder;
11 9
 use App\Users\Entity\User;
12 10
 use App\Users\Entity\UserWatchedMovie;
13
-use App\Movies\Repository\MovieRepository;
14
-use App\Movies\Service\SearchService;
15 11
 use App\Movies\Request\AddWatchedMovieRequest;
16 12
 use App\Movies\Service\WatchedMovieService;
17 13
 use App\Users\Repository\WatchedMovieRepository;
18 14
 use App\Users\Request\MergeWatchedMoviesRequest;
19
-use Doctrine\DBAL\Exception\UniqueConstraintViolationException;
20
-use Doctrine\ORM\Tools\Pagination\Paginator;
21 15
 use Symfony\Component\HttpFoundation\JsonResponse;
22 16
 use Symfony\Component\HttpFoundation\Request;
23
-use Symfony\Component\HttpKernel\Exception\BadRequestHttpException;
24 17
 use Symfony\Component\HttpKernel\Exception\NotFoundHttpException;
25 18
 use Symfony\Component\Routing\Annotation\Route;
26 19
 
Please login to merge, or discard this patch.
src/Movies/Pagination/MovieCollection.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -12,6 +12,9 @@
 block discarded – undo
12 12
     private $totalCount;
13 13
     private $movies;
14 14
 
15
+    /**
16
+     * @param integer $totalCount
17
+     */
15 18
     public function __construct(array $movies, $totalCount, int $offset = 0)
16 19
     {
17 20
         $this->totalCount = abs($totalCount);
Please login to merge, or discard this patch.
src/Movies/EventListener/MovieSyncProcessor.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -99,7 +99,7 @@
 block discarded – undo
99 99
 
100 100
     /**
101 101
      * @param int $id
102
-     * @return null|Genre
102
+     * @return Genre
103 103
      * @throws \Doctrine\ORM\ORMException
104 104
      */
105 105
     private function getGenreReference(int $id): ?object
Please login to merge, or discard this patch.