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