@@ -20,6 +20,7 @@ |
||
20 | 20 | * @param MenuItem[] &$children The current children |
21 | 21 | * @param MenuItem|null $parent The parent Menu item |
22 | 22 | * @param Request $request The Request |
23 | + * @return void |
|
23 | 24 | */ |
24 | 25 | public function adaptChildren(MenuBuilder $menu, array &$children, MenuItem $parent = null, Request $request = null); |
25 | 26 | } |
@@ -4,7 +4,6 @@ |
||
4 | 4 | |
5 | 5 | use Kunstmaan\AdminBundle\Helper\Menu\MenuBuilder; |
6 | 6 | use Kunstmaan\AdminBundle\Helper\Menu\MenuItem; |
7 | - |
|
8 | 7 | use Symfony\Component\HttpFoundation\Request; |
9 | 8 | |
10 | 9 | /** |
@@ -5,7 +5,6 @@ |
||
5 | 5 | use Kunstmaan\AdminBundle\Helper\Menu\MenuAdaptorInterface; |
6 | 6 | use Kunstmaan\AdminBundle\Helper\Menu\MenuBuilder; |
7 | 7 | use Kunstmaan\AdminBundle\Helper\Menu\MenuItem; |
8 | - |
|
9 | 8 | use Symfony\Component\HttpFoundation\Request; |
10 | 9 | |
11 | 10 | /** |
@@ -2,7 +2,6 @@ |
||
2 | 2 | |
3 | 3 | namespace Kunstmaan\AdminBundle\Helper\Security\Acl; |
4 | 4 | |
5 | -use Doctrine\ORM\Query; |
|
6 | 5 | use Doctrine\ORM\Query\SqlWalker; |
7 | 6 | |
8 | 7 | /** |
@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * Returns a list of functions to add to the existing list. |
19 | 19 | * |
20 | - * @return array An array of functions |
|
20 | + * @return \Twig_SimpleFunction[] An array of functions |
|
21 | 21 | */ |
22 | 22 | public function getFunctions() |
23 | 23 | { |
@@ -3,9 +3,7 @@ |
||
3 | 3 | namespace Kunstmaan\AdminBundle\Twig; |
4 | 4 | |
5 | 5 | use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission\PermissionAdmin; |
6 | - |
|
7 | 6 | use Symfony\Component\Form\FormView; |
8 | - |
|
9 | 7 | use Twig_Environment; |
10 | 8 | |
11 | 9 | /** |
@@ -2,10 +2,7 @@ |
||
2 | 2 | |
3 | 3 | namespace Kunstmaan\AdminBundle\Twig; |
4 | 4 | |
5 | -use Twig_Environment; |
|
6 | - |
|
7 | 5 | use Kunstmaan\AdminBundle\Helper\AdminRouteHelper; |
8 | -use Symfony\Component\Form\FormView; |
|
9 | 6 | |
10 | 7 | class AdminRouteHelperTwigExtension extends \Twig_Extension |
11 | 8 | { |
@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * Returns a list of functions to add to the existing list. |
19 | 19 | * |
20 | - * @return array An array of functions |
|
20 | + * @return \Twig_SimpleFunction[] An array of functions |
|
21 | 21 | */ |
22 | 22 | public function getFunctions() |
23 | 23 | { |
@@ -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 | /** |
@@ -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 | /** |
@@ -17,7 +17,7 @@ |
||
17 | 17 | /** |
18 | 18 | * Returns a list of functions to add to the existing list. |
19 | 19 | * |
20 | - * @return array An array of functions |
|
20 | + * @return \Twig_SimpleFunction[] An array of functions |
|
21 | 21 | */ |
22 | 22 | public function getFunctions() |
23 | 23 | { |
@@ -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 | { |