Completed
Push — master ( 9d729c...78ea8b )
by Valentyn
03:06
created
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
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
      *
107 107
      * @throws \Doctrine\ORM\ORMException
108 108
      *
109
-     * @return null|Genre
109
+     * @return Genre
110 110
      */
111 111
     private function getGenreReference(int $id): ?object
112 112
     {
Please login to merge, or discard this patch.
src/Users/Controller/WatchedMovieController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
9 9
 use App\Movies\Service\WatchedMovieService;
10 10
 use App\Pagination\PaginatedCollection;
11 11
 use App\Users\Entity\User;
12
-use App\Users\Entity\UserWatchedMovie;
13 12
 use App\Users\Repository\WatchedMovieRepository;
14 13
 use App\Users\Request\MergeWatchedMoviesRequest;
15 14
 use Symfony\Component\HttpFoundation\JsonResponse;
Please login to merge, or discard this patch.