@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | * @Route("/{popup}/add", requirements={"popup" = "\d+"}, name="kunstmaanleadgenerationbundle_admin_rule_abstractrule_add") |
45 | 45 | * @Method({"GET", "POST"}) |
46 | 46 | * |
47 | - * @return array |
|
47 | + * @return \Symfony\Component\HttpFoundation\Response |
|
48 | 48 | */ |
49 | 49 | public function addAction(Request $request, $popup) |
50 | 50 | { |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | * @Route("/{popup}/rules/{id}/edit", requirements={"popup" = "\d+", "rule" = "\d+"}, name="kunstmaanleadgenerationbundle_admin_rule_abstractrule_edit") |
62 | 62 | * @Method({"GET", "POST"}) |
63 | 63 | * |
64 | - * @return array |
|
64 | + * @return \Symfony\Component\HttpFoundation\Response |
|
65 | 65 | */ |
66 | 66 | public function editAction(Request $request, $id, $popup) |
67 | 67 | { |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | * @Route("/{popup}/rules/{id}/delete", requirements={"popup" = "\d+"}, name="kunstmaanleadgenerationbundle_admin_rule_abstractrule_delete") |
77 | 77 | * @Method({"GET", "POST"}) |
78 | 78 | * |
79 | - * @return array |
|
79 | + * @return \Symfony\Component\HttpFoundation\RedirectResponse |
|
80 | 80 | */ |
81 | 81 | public function deleteAction(Request $request, $id, $popup) |
82 | 82 | { |
@@ -7,7 +7,6 @@ |
||
7 | 7 | use Kunstmaan\MediaBundle\AdminList\MediaAdminListConfigurator; |
8 | 8 | use Kunstmaan\MediaBundle\Entity\Folder; |
9 | 9 | use Kunstmaan\MediaBundle\Form\FolderType; |
10 | -use Kunstmaan\MediaBundle\Form\EmptyType; |
|
11 | 10 | use Kunstmaan\MediaBundle\Helper\MediaManager; |
12 | 11 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Method; |
13 | 12 | use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route; |
@@ -84,7 +84,7 @@ discard block |
||
84 | 84 | * |
85 | 85 | * @Route("/{menuid}/items/add", name="kunstmaanmenubundle_admin_menuitem_add") |
86 | 86 | * @Method({"GET", "POST"}) |
87 | - * @return array |
|
87 | + * @return \Symfony\Component\HttpFoundation\Response |
|
88 | 88 | */ |
89 | 89 | public function addAction(Request $request, $menuid) |
90 | 90 | { |
@@ -99,7 +99,7 @@ discard block |
||
99 | 99 | * @Route("{menuid}/items/{id}/edit", requirements={"id" = "\d+"}, name="kunstmaanmenubundle_admin_menuitem_edit") |
100 | 100 | * @Method({"GET", "POST"}) |
101 | 101 | * |
102 | - * @return array |
|
102 | + * @return \Symfony\Component\HttpFoundation\Response |
|
103 | 103 | */ |
104 | 104 | public function editAction(Request $request, $menuid, $id) |
105 | 105 | { |
@@ -114,7 +114,7 @@ discard block |
||
114 | 114 | * @Route("{menuid}/items/{id}/delete", requirements={"id" = "\d+"}, name="kunstmaanmenubundle_admin_menuitem_delete") |
115 | 115 | * @Method({"GET", "POST"}) |
116 | 116 | * |
117 | - * @return array |
|
117 | + * @return RedirectResponse |
|
118 | 118 | */ |
119 | 119 | public function deleteAction(Request $request, $menuid, $id) |
120 | 120 | { |
@@ -22,7 +22,7 @@ discard block |
||
22 | 22 | /** |
23 | 23 | * Get Twig functions defined in this extension. |
24 | 24 | * |
25 | - * @return array |
|
25 | + * @return \Twig_SimpleFunction[] |
|
26 | 26 | */ |
27 | 27 | public function getFunctions() |
28 | 28 | { |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | } |
58 | 58 | |
59 | 59 | /** |
60 | - * @return array |
|
60 | + * @return string |
|
61 | 61 | */ |
62 | 62 | public function getCurrentHost() |
63 | 63 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Kunstmaan\NodeBundle\Event; |
4 | 4 | |
5 | 5 | use Symfony\Component\EventDispatcher\Event; |
6 | - |
|
7 | 6 | use Kunstmaan\NodeBundle\Entity\NodeVersion; |
8 | 7 | use Kunstmaan\NodeBundle\Entity\NodeTranslation; |
9 | 8 | use Kunstmaan\NodeBundle\Entity\Node; |
@@ -126,6 +126,7 @@ discard block |
||
126 | 126 | * QueryBuilder to fetch immediate child NodeTranslations for a specific |
127 | 127 | * node and (optional) language that are currently published |
128 | 128 | * |
129 | + * @param string $lang |
|
129 | 130 | * @return \Doctrine\ORM\QueryBuilder |
130 | 131 | */ |
131 | 132 | public function getOnlineChildrenQueryBuilder(Node $parent, $lang = null) |
@@ -155,7 +156,7 @@ discard block |
||
155 | 156 | * |
156 | 157 | * This returns the node translations that are currently published |
157 | 158 | * |
158 | - * @return array |
|
159 | + * @return \Doctrine\ORM\QueryBuilder |
|
159 | 160 | */ |
160 | 161 | public function getOnlineNodes() |
161 | 162 | { |
@@ -10,7 +10,7 @@ |
||
10 | 10 | class PagePartAdminTwigExtension extends \Twig_Extension |
11 | 11 | { |
12 | 12 | /** |
13 | - * @return array |
|
13 | + * @return \Twig_SimpleFunction[] |
|
14 | 14 | */ |
15 | 15 | public function getFunctions() |
16 | 16 | { |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | * |
44 | 44 | * @Route("/add", name="kunstmaanredirectbundle_admin_redirect_add") |
45 | 45 | * @Method({"GET", "POST"}) |
46 | - * @return array |
|
46 | + * @return \Symfony\Component\HttpFoundation\Response |
|
47 | 47 | */ |
48 | 48 | public function addAction(Request $request) |
49 | 49 | { |
@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | * @Route("/{id}", requirements={"id" = "\d+"}, name="kunstmaanredirectbundle_admin_redirect_edit") |
59 | 59 | * @Method({"GET", "POST"}) |
60 | 60 | * |
61 | - * @return array |
|
61 | + * @return \Symfony\Component\HttpFoundation\Response |
|
62 | 62 | */ |
63 | 63 | public function editAction(Request $request, $id) |
64 | 64 | { |
@@ -73,7 +73,7 @@ discard block |
||
73 | 73 | * @Route("/{id}/delete", requirements={"id" = "\d+"}, name="kunstmaanredirectbundle_admin_redirect_delete") |
74 | 74 | * @Method({"GET", "POST"}) |
75 | 75 | * |
76 | - * @return array |
|
76 | + * @return \Symfony\Component\HttpFoundation\RedirectResponse |
|
77 | 77 | */ |
78 | 78 | public function deleteAction(Request $request, $id) |
79 | 79 | { |
@@ -3,7 +3,6 @@ |
||
3 | 3 | namespace Kunstmaan\SeoBundle\EventListener; |
4 | 4 | |
5 | 5 | use Doctrine\ORM\EntityManager; |
6 | - |
|
7 | 6 | use Kunstmaan\SeoBundle\Entity\Seo; |
8 | 7 | use Kunstmaan\AdminBundle\Helper\CloneHelper; |
9 | 8 | use Kunstmaan\AdminBundle\Entity\AbstractEntity; |