Completed
Push — master ( 1e1a94...fe204c )
by Valentyn
05:23
created
src/Movies/Pagination/MovieCollection.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@
 block discarded – undo
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)
Please login to merge, or discard this patch.
src/Users/Service/SendEmailService.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -82,6 +82,9 @@
 block discarded – undo
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:", [
Please login to merge, or discard this patch.
src/Controller/BaseController.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -20,6 +20,9 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Movies/Controller/MovieReviewController.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -10,7 +10,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Movies/DataFixtures/MoviesFixtures.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.