Completed
Push — master ( 1c84dd...0f2f0f )
by Valentyn
03:06
created
src/Movies/Repository/MovieRepository.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -90,6 +90,9 @@  discard block
 block discarded – undo
90 90
         return $result;
91 91
     }
92 92
 
93
+    /**
94
+     * @param GuestSession|null $guestSession
95
+     */
93 96
     public function findAllWithIsGuestWatchedFlag(?GuestSession $guestSession)
94 97
     {
95 98
         $guestSessionId = $guestSession ? $guestSession->getId() : 0;
@@ -169,6 +172,9 @@  discard block
 block discarded – undo
169 172
         return $result;
170 173
     }
171 174
 
175
+    /**
176
+     * @param integer $tmdb_id
177
+     */
172 178
     public function findOneByIdOrTmdbId(?int $id = null, ?int $tmdb_id = null)
173 179
     {
174 180
         if ($id === null && $tmdb_id === null) {
Please login to merge, or discard this patch.
src/Movies/EventListener/AddSimilarMoviesProcessor.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
6 6
 use App\Movies\Repository\MovieRepository;
7 7
 use App\Movies\Service\TmdbSearchService;
8 8
 use App\Users\Entity\User;
9
-use Doctrine\DBAL\Exception\UniqueConstraintViolationException;
10 9
 use Doctrine\ORM\EntityManager;
11 10
 use Doctrine\ORM\EntityManagerInterface;
12 11
 use Enqueue\Client\TopicSubscriberInterface;
Please login to merge, or discard this patch.
src/Movies/EventListener/MovieTranslationsProcessor.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -105,7 +105,7 @@
 block discarded – undo
105 105
     }
106 106
 
107 107
     /**
108
-     * @param array $moviesTranslationsDTOs
108
+     * @param \Iterator $moviesTranslationsDTOs
109 109
      * @param Movie $movie
110 110
      *
111 111
      * @throws \Doctrine\ORM\ORMException
Please login to merge, or discard this patch.
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -10,10 +10,7 @@
 block discarded – undo
10 10
 use App\Movies\Repository\MovieRepository;
11 11
 use App\Movies\Service\TmdbSearchService;
12 12
 use App\Service\LocaleService;
13
-use Doctrine\DBAL\Exception\UniqueConstraintViolationException;
14
-use Doctrine\ORM\EntityManager;
15 13
 use Doctrine\ORM\EntityManagerInterface;
16
-use Enqueue\Client\Message;
17 14
 use Enqueue\Client\ProducerInterface;
18 15
 use Enqueue\Client\TopicSubscriberInterface;
19 16
 use Interop\Queue\PsrContext;
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
@@ -13,6 +13,9 @@
 block discarded – undo
13 13
     private $totalCount;
14 14
     private $movies;
15 15
 
16
+    /**
17
+     * @param integer $totalCount
18
+     */
16 19
     public function __construct($movies, $totalCount, int $offset = 0)
17 20
     {
18 21
         $this->totalCount = abs($totalCount);
Please login to merge, or discard this patch.