@@ -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 | { |
@@ -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) |
@@ -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) |
@@ -156,7 +156,7 @@ |
||
| 156 | 156 | |
| 157 | 157 | /** |
| 158 | 158 | * @param $galleries |
| 159 | - * @param $locale |
|
| 159 | + * @param string $locale |
|
| 160 | 160 | * @return array |
| 161 | 161 | */ |
| 162 | 162 | protected function formatGalleries($galleries, $locale) |
@@ -2,9 +2,7 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace AppBundle\Twig; |
| 4 | 4 | |
| 5 | -use Doctrine\ORM\EntityManager; |
|
| 6 | 5 | use Doctrine\Common\Persistence\ManagerRegistry; |
| 7 | -use Doctrine\Common\Persistence\ObjectManager; |
|
| 8 | 6 | |
| 9 | 7 | class AppExtension extends \Twig_Extension |
| 10 | 8 | { |