@@ -12,7 +12,7 @@ |
||
| 12 | 12 | /** |
| 13 | 13 | * Get Twig filters defined in this extension. |
| 14 | 14 | * |
| 15 | - * @return array |
|
| 15 | + * @return \Twig_SimpleFilter[] |
|
| 16 | 16 | */ |
| 17 | 17 | public function getFilters() |
| 18 | 18 | { |
@@ -29,7 +29,7 @@ |
||
| 29 | 29 | /** |
| 30 | 30 | * Get Twig functions defined in this extension. |
| 31 | 31 | * |
| 32 | - * @return array |
|
| 32 | + * @return \Twig_SimpleFunction[] |
|
| 33 | 33 | */ |
| 34 | 34 | public function getFunctions() |
| 35 | 35 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Kunstmaan\AdminBundle\Twig; |
| 4 | 4 | |
| 5 | 5 | use Kunstmaan\AdminBundle\Helper\FormHelper; |
| 6 | - |
|
| 7 | 6 | use Symfony\Component\Form\FormView; |
| 8 | 7 | |
| 9 | 8 | /** |
@@ -23,7 +23,7 @@ |
||
| 23 | 23 | /** |
| 24 | 24 | * Returns a list of functions to add to the existing list. |
| 25 | 25 | * |
| 26 | - * @return array An array of functions |
|
| 26 | + * @return \Twig_SimpleFunction[] An array of functions |
|
| 27 | 27 | */ |
| 28 | 28 | public function getFunctions() |
| 29 | 29 | { |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Kunstmaan\AdminBundle\Twig; |
| 4 | 4 | |
| 5 | -use Twig_Environment; |
|
| 6 | 5 | use Twig_Extension; |
| 7 | 6 | |
| 8 | 7 | /** |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | /** |
| 26 | 26 | * Get Twig functions defined in this extension. |
| 27 | 27 | * |
| 28 | - * @return array |
|
| 28 | + * @return \Twig_SimpleFunction[] |
|
| 29 | 29 | */ |
| 30 | 30 | public function getFunctions() |
| 31 | 31 | { |
@@ -31,7 +31,7 @@ |
||
| 31 | 31 | /** |
| 32 | 32 | * Get Twig functions defined in this extension. |
| 33 | 33 | * |
| 34 | - * @return array |
|
| 34 | + * @return \Twig_SimpleFunction[] |
|
| 35 | 35 | */ |
| 36 | 36 | public function getFunctions() |
| 37 | 37 | { |
@@ -20,7 +20,7 @@ discard block |
||
| 20 | 20 | /** |
| 21 | 21 | * Get Twig functions defined in this extension. |
| 22 | 22 | * |
| 23 | - * @return array |
|
| 23 | + * @return \Twig_SimpleFunction[] |
|
| 24 | 24 | */ |
| 25 | 25 | public function getFunctions() |
| 26 | 26 | { |
@@ -36,7 +36,6 @@ discard block |
||
| 36 | 36 | * Render multidomain switcher widget. |
| 37 | 37 | * |
| 38 | 38 | * @param \Twig_Environment $env |
| 39 | - * @param array $locales The locales |
|
| 40 | 39 | * @param string $route The route |
| 41 | 40 | * @param array $parameters The route parameters |
| 42 | 41 | * |
@@ -78,7 +77,7 @@ discard block |
||
| 78 | 77 | } |
| 79 | 78 | |
| 80 | 79 | /** |
| 81 | - * @return string |
|
| 80 | + * @return boolean |
|
| 82 | 81 | */ |
| 83 | 82 | public function switchedHostIsCurrent() |
| 84 | 83 | { |
@@ -11,7 +11,7 @@ discard block |
||
| 11 | 11 | /** |
| 12 | 12 | * Get Twig functions defined in this extension. |
| 13 | 13 | * |
| 14 | - * @return array |
|
| 14 | + * @return \Twig_SimpleFunction[] |
|
| 15 | 15 | */ |
| 16 | 16 | public function getFunctions() |
| 17 | 17 | { |
@@ -23,7 +23,7 @@ discard block |
||
| 23 | 23 | /** |
| 24 | 24 | * Return the admin menu MenuBuilder. |
| 25 | 25 | * |
| 26 | - * @return MenuBuilder |
|
| 26 | + * @return boolean |
|
| 27 | 27 | */ |
| 28 | 28 | public function hideSidebarInNodeEditAdmin($node) |
| 29 | 29 | { |
@@ -15,7 +15,7 @@ |
||
| 15 | 15 | /** |
| 16 | 16 | * Returns a list of functions to add to the existing list. |
| 17 | 17 | * |
| 18 | - * @return array An array of functions |
|
| 18 | + * @return \Twig_SimpleFunction[] An array of functions |
|
| 19 | 19 | */ |
| 20 | 20 | public function getFunctions() |
| 21 | 21 | { |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Kunstmaan\AdminBundle\Helper\FormWidgets\Tabs\TabPane; |
| 6 | 6 | use Twig_Environment; |
| 7 | - |
|
| 8 | 7 | use Twig_Extension; |
| 9 | 8 | |
| 10 | 9 | /** |
@@ -246,7 +246,7 @@ discard block |
||
| 246 | 246 | } |
| 247 | 247 | |
| 248 | 248 | /** |
| 249 | - * @return array |
|
| 249 | + * @return ItemAction\ItemActionInterface[] |
|
| 250 | 250 | */ |
| 251 | 251 | public function getItemActions() |
| 252 | 252 | { |
@@ -270,7 +270,7 @@ discard block |
||
| 270 | 270 | } |
| 271 | 271 | |
| 272 | 272 | /** |
| 273 | - * @return array |
|
| 273 | + * @return ListAction\ListActionInterface[] |
|
| 274 | 274 | */ |
| 275 | 275 | public function getListActions() |
| 276 | 276 | { |
@@ -278,7 +278,7 @@ discard block |
||
| 278 | 278 | } |
| 279 | 279 | |
| 280 | 280 | /** |
| 281 | - * @return array |
|
| 281 | + * @return BulkAction\BulkActionInterface[] |
|
| 282 | 282 | */ |
| 283 | 283 | public function getBulkActions() |
| 284 | 284 | { |
@@ -3,9 +3,7 @@ |
||
| 3 | 3 | namespace Kunstmaan\AdminListBundle\AdminList; |
| 4 | 4 | |
| 5 | 5 | use Kunstmaan\AdminListBundle\AdminList\Configurator\AdminListConfiguratorInterface; |
| 6 | - |
|
| 7 | 6 | use Pagerfanta\Pagerfanta; |
| 8 | - |
|
| 9 | 7 | use Symfony\Component\HttpFoundation\Request; |
| 10 | 8 | |
| 11 | 9 | /** |