@@ -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; |
@@ -10,7 +10,6 @@ discard block |
||
| 10 | 10 | use App\Movies\Repository\MovieRepository; |
| 11 | 11 | use App\Movies\Request\NewMovieRecommendationRequest; |
| 12 | 12 | use App\Movies\Request\RemoveMovieRecommendationRequest; |
| 13 | -use App\Pagination\PaginatedCollection; |
|
| 14 | 13 | use App\Users\Entity\User; |
| 15 | 14 | use App\Users\Entity\UserRoles; |
| 16 | 15 | use Doctrine\DBAL\Exception\UniqueConstraintViolationException; |
@@ -19,7 +18,6 @@ discard block |
||
| 19 | 18 | use Enqueue\Client\MessagePriority; |
| 20 | 19 | use Enqueue\Client\ProducerInterface; |
| 21 | 20 | use Symfony\Component\HttpFoundation\JsonResponse; |
| 22 | -use Symfony\Component\HttpFoundation\Request; |
|
| 23 | 21 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
| 24 | 22 | use Symfony\Component\Routing\Annotation\Route; |
| 25 | 23 | |