@@ -129,7 +129,7 @@ discard block |
||
| 129 | 129 | /** |
| 130 | 130 | * @param int $folderId |
| 131 | 131 | * |
| 132 | - * @return object |
|
| 132 | + * @return Folder |
|
| 133 | 133 | * @throws EntityNotFoundException |
| 134 | 134 | */ |
| 135 | 135 | public function getFolder($folderId) |
@@ -166,6 +166,7 @@ discard block |
||
| 166 | 166 | |
| 167 | 167 | /** |
| 168 | 168 | * {@inheritdoc} |
| 169 | + * @param Folder $node |
|
| 169 | 170 | */ |
| 170 | 171 | public function getPathQueryBuilder($node) |
| 171 | 172 | { |
@@ -336,7 +337,7 @@ discard block |
||
| 336 | 337 | |
| 337 | 338 | /** |
| 338 | 339 | * @param Folder $folder |
| 339 | - * @param $parent |
|
| 340 | + * @param Folder $parent |
|
| 340 | 341 | */ |
| 341 | 342 | private function persistInOrderedTree(Folder $folder, $parent) |
| 342 | 343 | { |
@@ -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 | { |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | * |
| 101 | 101 | * @Route("/{menuid}/items/add", name="kunstmaanmenubundle_admin_menuitem_add") |
| 102 | 102 | * @Method({"GET", "POST"}) |
| 103 | - * @return array |
|
| 103 | + * @return Response |
|
| 104 | 104 | */ |
| 105 | 105 | public function addAction(Request $request, $menuid) |
| 106 | 106 | { |
@@ -115,7 +115,7 @@ discard block |
||
| 115 | 115 | * @Route("{menuid}/items/{id}/edit", requirements={"id" = "\d+"}, name="kunstmaanmenubundle_admin_menuitem_edit") |
| 116 | 116 | * @Method({"GET", "POST"}) |
| 117 | 117 | * |
| 118 | - * @return array |
|
| 118 | + * @return Response |
|
| 119 | 119 | */ |
| 120 | 120 | public function editAction(Request $request, $menuid, $id) |
| 121 | 121 | { |
@@ -130,7 +130,7 @@ discard block |
||
| 130 | 130 | * @Route("{menuid}/items/{id}/delete", requirements={"id" = "\d+"}, name="kunstmaanmenubundle_admin_menuitem_delete") |
| 131 | 131 | * @Method({"GET", "POST"}) |
| 132 | 132 | * |
| 133 | - * @return array |
|
| 133 | + * @return Response |
|
| 134 | 134 | */ |
| 135 | 135 | public function deleteAction(Request $request, $menuid, $id) |
| 136 | 136 | { |
@@ -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 | { |
@@ -751,7 +751,7 @@ discard block |
||
| 751 | 751 | * |
| 752 | 752 | * @param Request $request |
| 753 | 753 | * |
| 754 | - * @return string |
|
| 754 | + * @return JsonResponse |
|
| 755 | 755 | * @throws AccessDeniedException |
| 756 | 756 | */ |
| 757 | 757 | public function reorderAction(Request $request) |
@@ -1211,7 +1211,7 @@ discard block |
||
| 1211 | 1211 | |
| 1212 | 1212 | /** |
| 1213 | 1213 | * @param $originalNode |
| 1214 | - * @param $nodeNewPage |
|
| 1214 | + * @param Node $nodeNewPage |
|
| 1215 | 1215 | */ |
| 1216 | 1216 | private function updateAcl($originalNode, $nodeNewPage) |
| 1217 | 1217 | { |
@@ -8,13 +8,10 @@ |
||
| 8 | 8 | use InvalidArgumentException; |
| 9 | 9 | use Kunstmaan\AdminBundle\Entity\BaseUser; |
| 10 | 10 | use Kunstmaan\AdminBundle\Entity\EntityInterface; |
| 11 | -use Kunstmaan\AdminBundle\Entity\User; |
|
| 12 | 11 | use Kunstmaan\AdminBundle\FlashMessages\FlashTypes; |
| 13 | 12 | use Kunstmaan\AdminBundle\Helper\FormWidgets\FormWidget; |
| 14 | - |
|
| 15 | 13 | use Kunstmaan\AdminBundle\Helper\FormWidgets\Tabs\Tab; |
| 16 | 14 | use Kunstmaan\AdminBundle\Helper\FormWidgets\Tabs\TabPane; |
| 17 | - |
|
| 18 | 15 | use Kunstmaan\AdminBundle\Helper\Security\Acl\AclHelper; |
| 19 | 16 | use Kunstmaan\AdminBundle\Helper\Security\Acl\Permission\PermissionMap; |
| 20 | 17 | use Kunstmaan\AdminListBundle\AdminList\AdminList; |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Kunstmaan\NodeBundle\Entity; |
| 4 | 4 | |
| 5 | 5 | use Doctrine\ORM\Mapping as ORM; |
| 6 | -use Kunstmaan\AdminBundle\Entity\User; |
|
| 7 | 6 | |
| 8 | 7 | /** |
| 9 | 8 | * NodeVersionLock |
@@ -86,6 +86,7 @@ |
||
| 86 | 86 | * Set owner |
| 87 | 87 | * |
| 88 | 88 | * @param string |
| 89 | + * @param string $owner |
|
| 89 | 90 | * |
| 90 | 91 | * @return NodeVersionLock |
| 91 | 92 | */ |
@@ -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 | { |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Kunstmaan\NodeBundle\Event; |
| 4 | 4 | |
| 5 | 5 | use Kunstmaan\AdminBundle\Helper\FormWidgets\Tabs\TabPane; |
| 6 | - |
|
| 7 | 6 | use Kunstmaan\NodeBundle\Entity\HasNodeInterface; |
| 8 | 7 | use Kunstmaan\NodeBundle\Entity\Node; |
| 9 | 8 | use Kunstmaan\NodeBundle\Entity\NodeTranslation; |