@@ -13,6 +13,7 @@ discard block |
||
13 | 13 | * Bind current request. |
14 | 14 | * |
15 | 15 | * @param Request $request |
16 | + * @return void |
|
16 | 17 | */ |
17 | 18 | public function bindRequest(Request $request); |
18 | 19 | |
@@ -22,7 +23,7 @@ discard block |
||
22 | 23 | public function getLimit(); |
23 | 24 | |
24 | 25 | /** |
25 | - * @return array |
|
26 | + * @return integer[] |
|
26 | 27 | */ |
27 | 28 | public function getLimitOptions(); |
28 | 29 | } |
29 | 30 | \ No newline at end of file |
@@ -78,7 +78,7 @@ |
||
78 | 78 | return $this->limit; |
79 | 79 | } |
80 | 80 | |
81 | - /** @return array */ |
|
81 | + /** @return integer[] */ |
|
82 | 82 | public function getLimitOptions() |
83 | 83 | { |
84 | 84 | return [ |
@@ -50,6 +50,9 @@ |
||
50 | 50 | $container->getDefinition('kunstmaan_translator.datacollector')->setDecoratedService('translator'); |
51 | 51 | } |
52 | 52 | |
53 | + /** |
|
54 | + * @param ContainerBuilder $container |
|
55 | + */ |
|
53 | 56 | public function setTranslationConfiguration($config, $container) |
54 | 57 | { |
55 | 58 | $container->setAlias('translator', 'kunstmaan_translator.service.translator.translator')->setPublic(true); |
@@ -287,6 +287,10 @@ |
||
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 |