@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanConfigExtensionTest extends AbstractPrependableExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanConfigExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |
@@ -157,7 +157,7 @@ discard block |
||
157 | 157 | * |
158 | 158 | * @param integer $config |
159 | 159 | * |
160 | - * @return AnalyticsTopReferrals |
|
160 | + * @return AnalyticsOverview |
|
161 | 161 | */ |
162 | 162 | public function setConfig($config) |
163 | 163 | { |
@@ -181,7 +181,7 @@ discard block |
||
181 | 181 | * |
182 | 182 | * @param integer $segment |
183 | 183 | * |
184 | - * @return AnalyticsTopReferrals |
|
184 | + * @return AnalyticsOverview |
|
185 | 185 | */ |
186 | 186 | public function setSegment($segment) |
187 | 187 | { |
@@ -194,7 +194,7 @@ discard block |
||
194 | 194 | /** |
195 | 195 | * Set goals |
196 | 196 | * |
197 | - * @param array $goals |
|
197 | + * @param AnalyticsGoal[] $goals |
|
198 | 198 | * @return $this |
199 | 199 | */ |
200 | 200 | public function setGoals($goals) |
@@ -494,7 +494,7 @@ discard block |
||
494 | 494 | /** |
495 | 495 | * Get useYear |
496 | 496 | * |
497 | - * @return integer |
|
497 | + * @return boolean |
|
498 | 498 | */ |
499 | 499 | public function getUseYear() |
500 | 500 | { |
@@ -12,7 +12,7 @@ |
||
12 | 12 | class KunstmaanDashboardExtensionTest extends AbstractPrependableExtensionTestCase |
13 | 13 | { |
14 | 14 | /** |
15 | - * @return ExtensionInterface[] |
|
15 | + * @return KunstmaanDashboardExtension[] |
|
16 | 16 | */ |
17 | 17 | protected function getContainerExtensions() |
18 | 18 | { |
@@ -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 | { |
@@ -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 | { |