| @@ -81,7 +81,7 @@ | ||
| 81 | 81 | |
| 82 | 82 | /** | 
| 83 | 83 | * @param TokenInterface $token | 
| 84 | - * @param $providerKey | |
| 84 | + * @param string $providerKey | |
| 85 | 85 | * | 
| 86 | 86 | * @return bool | 
| 87 | 87 | */ | 
| @@ -20,7 +20,7 @@ | ||
| 20 | 20 | } | 
| 21 | 21 | |
| 22 | 22 | /** | 
| 23 | - * @return AdminPanelActionInterface[] | |
| 23 | + * @return AdminPanelAction[] | |
| 24 | 24 | */ | 
| 25 | 25 | public function getAdminPanelActions() | 
| 26 | 26 |      { | 
| @@ -3,7 +3,6 @@ | ||
| 3 | 3 | namespace Kunstmaan\AdminBundle\Helper; | 
| 4 | 4 | |
| 5 | 5 | use Kunstmaan\NodeBundle\Router\SlugRouter; | 
| 6 | -use Symfony\Component\HttpFoundation\Request; | |
| 7 | 6 | use Symfony\Component\HttpFoundation\RequestStack; | 
| 8 | 7 | |
| 9 | 8 | /** | 
| @@ -56,7 +56,7 @@ | ||
| 56 | 56 | } | 
| 57 | 57 | |
| 58 | 58 | /** | 
| 59 | - * @return array | |
| 59 | + * @return string[] | |
| 60 | 60 | */ | 
| 61 | 61 | public function getHosts() | 
| 62 | 62 |      { | 
| @@ -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 | } | 
| @@ -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 |      { | 
| @@ -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 |      { |