@@ -16,7 +16,7 @@ |
||
| 16 | 16 | |
| 17 | 17 | /** |
| 18 | 18 | * @param array|Movie[]|\Iterator $movies |
| 19 | - * @param $totalCount |
|
| 19 | + * @param integer $totalCount |
|
| 20 | 20 | * @param int $offset |
| 21 | 21 | */ |
| 22 | 22 | public function __construct($movies, $totalCount, int $offset = 0) |
@@ -89,6 +89,9 @@ |
||
| 89 | 89 | return $result; |
| 90 | 90 | } |
| 91 | 91 | |
| 92 | + /** |
|
| 93 | + * @param GuestSession|null $guestSession |
|
| 94 | + */ |
|
| 92 | 95 | public function findAllWithIsGuestWatchedFlag(?GuestSession $guestSession) |
| 93 | 96 | { |
| 94 | 97 | $guestSessionId = $guestSession ? $guestSession->getId() : 0; |
@@ -37,7 +37,7 @@ discard block |
||
| 37 | 37 | * @throws TmdbRequestLimitException |
| 38 | 38 | * @throws \Psr\SimpleCache\InvalidArgumentException |
| 39 | 39 | * |
| 40 | - * @return array |
|
| 40 | + * @return string |
|
| 41 | 41 | */ |
| 42 | 42 | public function findMoviesByQuery(string $query, string $locale = 'en', $data = []): array |
| 43 | 43 | { |
@@ -62,7 +62,7 @@ discard block |
||
| 62 | 62 | * @throws TmdbRequestLimitException |
| 63 | 63 | * @throws \Psr\SimpleCache\InvalidArgumentException |
| 64 | 64 | * |
| 65 | - * @return array |
|
| 65 | + * @return string |
|
| 66 | 66 | */ |
| 67 | 67 | public function findMovieById(int $tmdb_id, string $locale = 'en'): array |
| 68 | 68 | { |