Completed
Branch master (ec63f5)
by Serhii
02:37
created
src/AppBundle/Command/LoadCsvFixturesCommand.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -65,6 +65,9 @@
 block discarded – undo
65 65
         }
66 66
     }
67 67
 
68
+    /**
69
+     * @param string $csvFile
70
+     */
68 71
     protected function csvToArray($entityName, $csvFile)
69 72
     {
70 73
         if (($handle = fopen($csvFile, 'r')) !== false) {
Please login to merge, or discard this patch.
src/AppBundle/Entity/Employee.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -339,7 +339,7 @@  discard block
 block discarded – undo
339 339
     /**
340 340
      * Get roles
341 341
      *
342
-     * @return \Doctrine\Common\Collections\Collection
342
+     * @return Role[]
343 343
      */
344 344
     public function getRoles()
345 345
     {
@@ -449,7 +449,7 @@  discard block
 block discarded – undo
449 449
     /**
450 450
      * Get galleryHasMedia
451 451
      *
452
-     * @return \Doctrine\Common\Collections\Collection
452
+     * @return \Application\Sonata\MediaBundle\Entity\GalleryHasMedia
453 453
      */
454 454
     public function getGalleryHasMedia()
455 455
     {
Please login to merge, or discard this patch.
src/AppBundle/Entity/History.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@
 block discarded – undo
175 175
     /**
176 176
      * Get galleryHasMedia
177 177
      *
178
-     * @return \Doctrine\Common\Collections\Collection
178
+     * @return \Application\Sonata\MediaBundle\Entity\GalleryHasMedia
179 179
      */
180 180
     public function getGalleryHasMedia()
181 181
     {
Please login to merge, or discard this patch.
src/AppBundle/Entity/Performance.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -365,7 +365,7 @@  discard block
 block discarded – undo
365 365
     /**
366 366
      * Get performanceEvents
367 367
      *
368
-     * @return \Doctrine\Common\Collections\Collection
368
+     * @return PerformanceEvent[]
369 369
      */
370 370
     public function getPerformanceEvents()
371 371
     {
@@ -399,7 +399,7 @@  discard block
 block discarded – undo
399 399
     /**
400 400
      * Get roles
401 401
      *
402
-     * @return \Doctrine\Common\Collections\Collection
402
+     * @return Role[]
403 403
      */
404 404
     public function getRoles()
405 405
     {
@@ -460,7 +460,7 @@  discard block
 block discarded – undo
460 460
     /**
461 461
      * Get galleryHasMedia
462 462
      *
463
-     * @return \Doctrine\Common\Collections\Collection
463
+     * @return \Application\Sonata\MediaBundle\Entity\GalleryHasMedia
464 464
      */
465 465
     public function getGalleryHasMedia()
466 466
     {
Please login to merge, or discard this patch.
src/AppBundle/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/AppBundle/Entity/Post.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -175,7 +175,7 @@
 block discarded – undo
175 175
     /**
176 176
      * Get galleryHasMedia
177 177
      *
178
-     * @return \Doctrine\Common\Collections\Collection
178
+     * @return \Application\Sonata\MediaBundle\Entity\GalleryHasMedia
179 179
      */
180 180
     public function getGalleryHasMedia()
181 181
     {
Please login to merge, or discard this patch.