@@ -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 | /** |
@@ -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 | /** |
@@ -48,7 +48,7 @@ discard block |
||
| 48 | 48 | /** |
| 49 | 49 | * Returns handler with the highest priority to handle the Media item which can handle the item. If no handler is found, it returns FileHandler |
| 50 | 50 | * |
| 51 | - * @param Media|File $media |
|
| 51 | + * @param Media $media |
|
| 52 | 52 | * |
| 53 | 53 | * @return AbstractMediaHandler |
| 54 | 54 | */ |
@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | } |
| 130 | 130 | |
| 131 | 131 | /** |
| 132 | - * @param mixed $data |
|
| 132 | + * @param \stdClass $data |
|
| 133 | 133 | * |
| 134 | 134 | * @return Media |
| 135 | 135 | */ |
@@ -58,7 +58,7 @@ |
||
| 58 | 58 | } |
| 59 | 59 | |
| 60 | 60 | /** |
| 61 | - * @return mixed |
|
| 61 | + * @return string |
|
| 62 | 62 | */ |
| 63 | 63 | public function getSoundcloudApiKey() |
| 64 | 64 | { |
@@ -50,7 +50,7 @@ |
||
| 50 | 50 | * |
| 51 | 51 | * @param Request $request |
| 52 | 52 | * |
| 53 | - * @return array |
|
| 53 | + * @return \Symfony\Component\HttpFoundation\Response |
|
| 54 | 54 | */ |
| 55 | 55 | public function indexAction(Request $request) |
| 56 | 56 | { |
@@ -4,7 +4,6 @@ |
||
| 4 | 4 | |
| 5 | 5 | use Doctrine\ORM\EntityManager; |
| 6 | 6 | use Kunstmaan\AdminBundle\Helper\DomainConfigurationInterface; |
| 7 | -use Kunstmaan\MenuBundle\Entity\Menu; |
|
| 8 | 7 | |
| 9 | 8 | class MenuService |
| 10 | 9 | { |
@@ -9,7 +9,7 @@ |
||
| 9 | 9 | class SitesAdminPanelAdaptor implements AdminPanelAdaptorInterface |
| 10 | 10 | { |
| 11 | 11 | /** |
| 12 | - * @return AdminPanelActionInterface[] |
|
| 12 | + * @return AdminPanelAction[] |
|
| 13 | 13 | */ |
| 14 | 14 | public function getAdminPanelActions() |
| 15 | 15 | { |
@@ -109,7 +109,7 @@ discard block |
||
| 109 | 109 | /** |
| 110 | 110 | * Get user |
| 111 | 111 | * |
| 112 | - * @return string |
|
| 112 | + * @return BaseUser |
|
| 113 | 113 | */ |
| 114 | 114 | public function getUser() |
| 115 | 115 | { |
@@ -132,7 +132,7 @@ discard block |
||
| 132 | 132 | /** |
| 133 | 133 | * Get date |
| 134 | 134 | * |
| 135 | - * @return DateTime |
|
| 135 | + * @return \DateTime |
|
| 136 | 136 | */ |
| 137 | 137 | public function getDate() |
| 138 | 138 | { |
@@ -13,7 +13,7 @@ |
||
| 13 | 13 | /** |
| 14 | 14 | * Make sure response has a timestamp |
| 15 | 15 | * |
| 16 | - * @param FilterResponseEvent|GetResponseEvent $event |
|
| 16 | + * @param FilterResponseEvent $event |
|
| 17 | 17 | */ |
| 18 | 18 | public function onKernelResponse(FilterResponseEvent $event) |
| 19 | 19 | { |