@@ -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) { |