@@ -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) |
@@ -82,6 +82,9 @@ |
||
82 | 82 | $this->sendEmail($user->getEmail(), $subject, $body); |
83 | 83 | } |
84 | 84 | |
85 | + /** |
|
86 | + * @param string $recipientEmail |
|
87 | + */ |
|
85 | 88 | private function sendEmail($recipientEmail, string $subject, string $body) |
86 | 89 | { |
87 | 90 | $this->logger->info("[MAILER] Trying to send email to {$recipientEmail} with next params:", [ |
@@ -6,7 +6,6 @@ |
||
6 | 6 | use App\Movies\Repository\MovieRepository; |
7 | 7 | use App\Movies\Transformer\MovieTransformer; |
8 | 8 | use App\Pagination\CustomPaginatedCollection; |
9 | -use App\Pagination\PaginatedCollection; |
|
10 | 9 | use Symfony\Component\HttpFoundation\JsonResponse; |
11 | 10 | use Symfony\Component\HttpFoundation\Request; |
12 | 11 | use Symfony\Component\Routing\Annotation\Route; |
@@ -20,6 +20,9 @@ |
||
20 | 20 | { |
21 | 21 | use TranslatedResponseTrait; |
22 | 22 | |
23 | + /** |
|
24 | + * @param \App\Pagination\CustomPaginatedCollection $data |
|
25 | + */ |
|
23 | 26 | public function items($data, Transformer $transformer): JsonResponse |
24 | 27 | { |
25 | 28 | return $this->response($data, 200, [], [], $transformer); |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use App\Actors\Entity\ActorTranslations; |
8 | 8 | use App\Genres\DataFixtures\GenresFixtures; |
9 | 9 | use App\Genres\Entity\Genre; |
10 | -use App\Genres\Entity\GenreTranslations; |
|
11 | 10 | use App\Movies\DTO\MovieDTO; |
12 | 11 | use App\Movies\DTO\MovieTranslationDTO; |
13 | 12 | use App\Movies\Entity\MovieTMDB; |