@@ -339,7 +339,7 @@ discard block |
||
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 |
||
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 | { |
@@ -365,7 +365,7 @@ discard block |
||
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 |
||
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 |
||
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 | { |
@@ -175,7 +175,7 @@ |
||
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 | { |
@@ -66,7 +66,7 @@ |
||
66 | 66 | |
67 | 67 | /** |
68 | 68 | * @param $entityName |
69 | - * @param $csvFile |
|
69 | + * @param string $csvFile |
|
70 | 70 | * @return array |
71 | 71 | */ |
72 | 72 | protected function csvToArray($entityName, $csvFile) |
@@ -142,7 +142,7 @@ discard block |
||
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 |
||
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 | { |
@@ -154,6 +154,9 @@ |
||
154 | 154 | } |
155 | 155 | } |
156 | 156 | |
157 | + /** |
|
158 | + * @param string $locale |
|
159 | + */ |
|
157 | 160 | protected function formatGalleries($galleries, $locale) |
158 | 161 | { |
159 | 162 | $formatedGaleries = array_filter($galleries, function ($gallery) { |
@@ -45,7 +45,7 @@ discard block |
||
45 | 45 | protected $totalCount; |
46 | 46 | |
47 | 47 | /** |
48 | - * @return mixed |
|
48 | + * @return integer |
|
49 | 49 | */ |
50 | 50 | public function getPageCount() |
51 | 51 | { |
@@ -53,7 +53,7 @@ discard block |
||
53 | 53 | } |
54 | 54 | |
55 | 55 | /** |
56 | - * @param mixed $pageCount |
|
56 | + * @param double $pageCount |
|
57 | 57 | */ |
58 | 58 | public function setPageCount($pageCount) |
59 | 59 | { |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | } |
62 | 62 | |
63 | 63 | /** |
64 | - * @return mixed |
|
64 | + * @return integer |
|
65 | 65 | */ |
66 | 66 | public function getPage() |
67 | 67 | { |
@@ -93,7 +93,7 @@ discard block |
||
93 | 93 | } |
94 | 94 | |
95 | 95 | /** |
96 | - * @return mixed |
|
96 | + * @return string |
|
97 | 97 | */ |
98 | 98 | public function getLinks() |
99 | 99 | { |
@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | } |
102 | 102 | |
103 | 103 | /** |
104 | - * @param mixed $links |
|
104 | + * @param PaginationLinks $links |
|
105 | 105 | * @return $this |
106 | 106 | */ |
107 | 107 | public function setLinks($links) |