@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanFixturesExtensionTest extends AbstractPrependableExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanFixturesExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |
@@ -76,7 +76,7 @@ discard block |
||
76 | 76 | /** |
77 | 77 | * Return the url to edit the given $item |
78 | 78 | * |
79 | - * @param mixed $item |
|
79 | + * @param \Kunstmaan\TaggingBundle\Tests\Entity\FakePage $item |
|
80 | 80 | * |
81 | 81 | * @return array |
82 | 82 | */ |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | * |
119 | 119 | * @param array $params |
120 | 120 | * |
121 | - * @return array |
|
121 | + * @return string |
|
122 | 122 | */ |
123 | 123 | public function getAddUrlFor(array $params = array()) |
124 | 124 | { |
@@ -128,7 +128,7 @@ discard block |
||
128 | 128 | /** |
129 | 129 | * Configure if it's possible to delete the given $item |
130 | 130 | * |
131 | - * @param mixed $item |
|
131 | + * @param \Kunstmaan\TaggingBundle\Tests\Entity\FakePage $item |
|
132 | 132 | * |
133 | 133 | * @return bool |
134 | 134 | */ |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | /** |
141 | 141 | * Get the delete url for the given $item |
142 | 142 | * |
143 | - * @param mixed $item |
|
143 | + * @param \Kunstmaan\TaggingBundle\Tests\Entity\FakePage $item |
|
144 | 144 | * |
145 | 145 | * @return array |
146 | 146 | */ |
@@ -74,7 +74,7 @@ discard block |
||
74 | 74 | /** |
75 | 75 | * Return the url to edit the given $item |
76 | 76 | * |
77 | - * @param mixed $item |
|
77 | + * @param \Kunstmaan\TaggingBundle\Tests\Entity\FakePage $item |
|
78 | 78 | * |
79 | 79 | * @return array |
80 | 80 | */ |
@@ -124,7 +124,7 @@ discard block |
||
124 | 124 | /** |
125 | 125 | * Configure if it's possible to delete the given $item |
126 | 126 | * |
127 | - * @param mixed $item |
|
127 | + * @param \Kunstmaan\TaggingBundle\Tests\Entity\FakePage $item |
|
128 | 128 | * |
129 | 129 | * @return bool |
130 | 130 | */ |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | /** |
148 | 148 | * Get the delete url for the given $item |
149 | 149 | * |
150 | - * @param mixed $item |
|
150 | + * @param \Kunstmaan\TaggingBundle\Tests\Entity\FakePage $item |
|
151 | 151 | * |
152 | 152 | * @return array |
153 | 153 | */ |
@@ -39,7 +39,7 @@ |
||
39 | 39 | /** |
40 | 40 | * https://gist.github.com/1331789 |
41 | 41 | * |
42 | - * @return \Doctrine\ORM\EntityManager |
|
42 | + * @return \PHPUnit_Framework_MockObject_MockObject |
|
43 | 43 | */ |
44 | 44 | protected function getMockedEntityManager() |
45 | 45 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanFormExtensionTest extends AbstractPrependableExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanFormExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanLeadGenerationExtensionTest extends AbstractPrependableExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanLeadGenerationExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |
@@ -287,6 +287,10 @@ discard block |
||
287 | 287 | return $response; |
288 | 288 | } |
289 | 289 | |
290 | + /** |
|
291 | + * @param string $code |
|
292 | + * @param string $message |
|
293 | + */ |
|
290 | 294 | private function returnJsonError($code, $message) |
291 | 295 | { |
292 | 296 | |
@@ -471,7 +475,7 @@ discard block |
||
471 | 475 | * @Route("move/", name="KunstmaanMediaBundle_media_move") |
472 | 476 | * @Method({"POST"}) |
473 | 477 | * |
474 | - * @return string |
|
478 | + * @return JsonResponse |
|
475 | 479 | */ |
476 | 480 | public function moveMedia(Request $request) |
477 | 481 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanMediaExtensionTest extends AbstractPrependableExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanMediaExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanMediaPagePartExtensionTest extends AbstractPrependableExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanMediaPagePartExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |