@@ -90,6 +90,9 @@ discard block |
||
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 |
||
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) { |
@@ -105,7 +105,7 @@ |
||
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 |
@@ -13,6 +13,9 @@ |
||
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); |