@@ -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 | /** |
@@ -144,6 +144,9 @@ |
||
| 144 | 144 | $this->assertEquals(array('nl', 'fr', 'en'), $object->getBackendLocales()); |
| 145 | 145 | } |
| 146 | 146 | |
| 147 | + /** |
|
| 148 | + * @return ContainerInterface |
|
| 149 | + */ |
|
| 147 | 150 | private function getContainer($map) |
| 148 | 151 | { |
| 149 | 152 | $this->container = $this->getMock('Symfony\Component\DependencyInjection\ContainerInterface'); |
@@ -299,7 +299,7 @@ |
||
| 299 | 299 | /** |
| 300 | 300 | * Return entity mock |
| 301 | 301 | * |
| 302 | - * @return AbstractEntity |
|
| 302 | + * @return \PHPUnit_Framework_MockObject_MockObject |
|
| 303 | 303 | */ |
| 304 | 304 | public function getEntity() |
| 305 | 305 | { |
@@ -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 | { |