Completed
Push — master ( 18696f...4ea9b4 )
by Serhii
04:47 queued 11s
created
src/Admin/GalleryHasMediaAdmin.php 1 patch
Unused Use Statements   -3 removed lines patch added patch discarded remove patch
@@ -5,9 +5,6 @@
 block discarded – undo
5 5
 use Sonata\AdminBundle\Form\FormMapper;
6 6
 use Sonata\AdminBundle\Form\Type\ModelListType;
7 7
 use Sonata\MediaBundle\Admin\GalleryHasMediaAdmin as BaseGalleryHasMediaAdmin;
8
-use Symfony\Component\Form\Extension\Core\Type\CheckboxType;
9
-use Symfony\Component\Form\Extension\Core\Type\ChoiceType;
10
-use Symfony\Component\Form\Extension\Core\Type\TextType;
11 8
 
12 9
 class GalleryHasMediaAdmin extends BaseGalleryHasMediaAdmin
13 10
 {
Please login to merge, or discard this patch.
src/Entity/Employee.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -340,7 +340,7 @@  discard block
 block discarded – undo
340 340
     /**
341 341
      * Get roles
342 342
      *
343
-     * @return \Doctrine\Common\Collections\Collection
343
+     * @return Role[]
344 344
      */
345 345
     public function getRoles()
346 346
     {
@@ -450,7 +450,7 @@  discard block
 block discarded – undo
450 450
     /**
451 451
      * Get galleryHasMedia
452 452
      *
453
-     * @return \Doctrine\Common\Collections\Collection
453
+     * @return GalleryHasMedia
454 454
      */
455 455
     public function getGalleryHasMedia()
456 456
     {
Please login to merge, or discard this patch.
src/Entity/History.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
     }
143 143
 
144 144
     /**
145
-     * @return mixed
145
+     * @return string
146 146
      */
147 147
     public function getYear()
148 148
     {
@@ -175,7 +175,7 @@  discard block
 block discarded – undo
175 175
     /**
176 176
      * Get galleryHasMedia
177 177
      *
178
-     * @return \Doctrine\Common\Collections\Collection
178
+     * @return GalleryHasMedia
179 179
      */
180 180
     public function getGalleryHasMedia()
181 181
     {
Please login to merge, or discard this patch.
src/Entity/Post.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -124,7 +124,7 @@
 block discarded – undo
124 124
     /**
125 125
      * Get galleryHasMedia
126 126
      *
127
-     * @return \Doctrine\Common\Collections\Collection
127
+     * @return GalleryHasMedia
128 128
      */
129 129
     public function getGalleryHasMedia()
130 130
     {
Please login to merge, or discard this patch.
src/EventListener/SerializerSubscriber.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -117,6 +117,9 @@
 block discarded – undo
117 117
         }
118 118
     }
119 119
 
120
+    /**
121
+     * @param string $locale
122
+     */
120 123
     protected function formatGalleries($galleries, $locale)
121 124
     {
122 125
         $formatedGaleries = array_filter($galleries, function($gallery) { return $gallery->getMedia(); });
Please login to merge, or discard this patch.
src/Model/EmployeesResponse.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,7 +32,7 @@
 block discarded – undo
32 32
     protected $count;
33 33
 
34 34
     /**
35
-     * @return mixed
35
+     * @return Employee[]
36 36
      */
37 37
     public function getEmployees()
38 38
     {
Please login to merge, or discard this patch.
src/Entity/Performance.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -373,7 +373,7 @@  discard block
 block discarded – undo
373 373
     /**
374 374
      * Get performanceEvents
375 375
      *
376
-     * @return \Doctrine\Common\Collections\Collection
376
+     * @return PerformanceEvent[]
377 377
      */
378 378
     public function getPerformanceEvents()
379 379
     {
@@ -468,7 +468,7 @@  discard block
 block discarded – undo
468 468
     /**
469 469
      * Get galleryHasMedia
470 470
      *
471
-     * @return \Doctrine\Common\Collections\Collection
471
+     * @return GalleryHasMedia
472 472
      */
473 473
     public function getGalleryHasMedia()
474 474
     {
@@ -476,7 +476,7 @@  discard block
 block discarded – undo
476 476
     }
477 477
 
478 478
     /**
479
-     * @return Festival
479
+     * @return History
480 480
      */
481 481
     public function getFestival()
482 482
     {
Please login to merge, or discard this patch.
src/EventListener/AddSeasonSubscriber.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,6 @@
 block discarded – undo
4 4
 
5 5
 use App\Entity\PerformanceEvent;
6 6
 use App\Entity\RepertoireSeason;
7
-use App\Repository\RepertoireSeasonRepository;
8 7
 use Doctrine\Common\EventSubscriber;
9 8
 use Doctrine\ORM\Event\OnFlushEventArgs;
10 9
 use Doctrine\ORM\Events;
Please login to merge, or discard this patch.