@@ -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 | { |
@@ -104,7 +104,7 @@ discard block |
||
| 104 | 104 | /** |
| 105 | 105 | * @param string $identifier |
| 106 | 106 | * |
| 107 | - * @return TabInterface |
|
| 107 | + * @return PermissionsFormWidget |
|
| 108 | 108 | */ |
| 109 | 109 | public function setIdentifier($identifier) |
| 110 | 110 | { |
@@ -124,7 +124,7 @@ discard block |
||
| 124 | 124 | /** |
| 125 | 125 | * @param HasNodeInterface $page |
| 126 | 126 | * |
| 127 | - * @return PermissionTab |
|
| 127 | + * @return PermissionsFormWidget |
|
| 128 | 128 | */ |
| 129 | 129 | public function setPage($page) |
| 130 | 130 | { |
@@ -144,7 +144,7 @@ discard block |
||
| 144 | 144 | /** |
| 145 | 145 | * @param PermissionAdmin $permissionAdmin |
| 146 | 146 | * |
| 147 | - * @return PermissionTab |
|
| 147 | + * @return PermissionsFormWidget |
|
| 148 | 148 | */ |
| 149 | 149 | public function setPermissionAdmin($permissionAdmin) |
| 150 | 150 | { |
@@ -164,7 +164,7 @@ discard block |
||
| 164 | 164 | /** |
| 165 | 165 | * @param PermissionMapInterface $permissionMap |
| 166 | 166 | * |
| 167 | - * @return PermissionTab |
|
| 167 | + * @return PermissionsFormWidget |
|
| 168 | 168 | */ |
| 169 | 169 | public function setPermissionMap($permissionMap) |
| 170 | 170 | { |
@@ -177,7 +177,7 @@ |
||
| 177 | 177 | * Get an array with the id's off all nodes in the tree that should be |
| 178 | 178 | * expanded. |
| 179 | 179 | * |
| 180 | - * @param $request |
|
| 180 | + * @param Request $request |
|
| 181 | 181 | * |
| 182 | 182 | * @return array |
| 183 | 183 | */ |
@@ -156,7 +156,7 @@ |
||
| 156 | 156 | } |
| 157 | 157 | |
| 158 | 158 | /** |
| 159 | - * @param NodeMenuItem|null|false $parent |
|
| 159 | + * @param NodeMenuItem $parent |
|
| 160 | 160 | */ |
| 161 | 161 | public function setParent($parent = false) |
| 162 | 162 | { |
@@ -127,6 +127,7 @@ |
||
| 127 | 127 | * QueryBuilder to fetch immediate child NodeTranslations for a specific |
| 128 | 128 | * node and (optional) language that are currently published |
| 129 | 129 | * |
| 130 | + * @param string $lang |
|
| 130 | 131 | * @return \Doctrine\ORM\QueryBuilder |
| 131 | 132 | */ |
| 132 | 133 | public function getOnlineChildrenQueryBuilder(Node $parent, $lang = null) |
@@ -20,7 +20,7 @@ |
||
| 20 | 20 | } |
| 21 | 21 | |
| 22 | 22 | /** |
| 23 | - * @return array |
|
| 23 | + * @return \Twig_SimpleFilter[] |
|
| 24 | 24 | */ |
| 25 | 25 | public function getFilters() |
| 26 | 26 | { |