@@ -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:", [ |
@@ -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); |
@@ -10,7 +10,6 @@ |
||
10 | 10 | use App\Pagination\PaginatedCollection; |
11 | 11 | use App\Users\Entity\UserRoles; |
12 | 12 | use Doctrine\ORM\EntityManagerInterface; |
13 | -use Psr\Log\LoggerInterface; |
|
14 | 13 | use Symfony\Component\HttpFoundation\JsonResponse; |
15 | 14 | use Symfony\Component\HttpFoundation\Request; |
16 | 15 | use Symfony\Component\HttpKernel\Exception\NotFoundHttpException; |
@@ -9,7 +9,6 @@ |
||
9 | 9 | use App\Genres\Entity\Genre; |
10 | 10 | use App\Movies\DTO\MovieDTO; |
11 | 11 | use App\Movies\DTO\MovieTranslationDTO; |
12 | -use App\Movies\Entity\MovieReview; |
|
13 | 12 | use App\Movies\Entity\MovieTMDB; |
14 | 13 | use App\Movies\Service\MovieManageService; |
15 | 14 | use Doctrine\Bundle\FixturesBundle\Fixture; |