@@ -58,17 +58,17 @@ |
||
58 | 58 | public function getFilters() |
59 | 59 | { |
60 | 60 | return [ |
61 | - new \Twig_SimpleFilter('start', function ($context, $node, $value) { |
|
61 | + new \Twig_SimpleFilter('start', function($context, $node, $value) { |
|
62 | 62 | $node['_collection_type_filters']['start'] = $value; |
63 | 63 | |
64 | 64 | return $node; |
65 | 65 | }, ['needs_context' => true]), |
66 | - new \Twig_SimpleFilter('limit', function ($context, $node, $value) { |
|
66 | + new \Twig_SimpleFilter('limit', function($context, $node, $value) { |
|
67 | 67 | $node['_collection_type_filters']['limit'] = $value; |
68 | 68 | |
69 | 69 | return $node; |
70 | 70 | }, ['needs_context' => true]), |
71 | - new \Twig_SimpleFilter('order', function ($context, $node, $value1, $value2) { |
|
71 | + new \Twig_SimpleFilter('order', function($context, $node, $value1, $value2) { |
|
72 | 72 | $node['_collection_type_filters']['order'] = [$value1, $value2]; |
73 | 73 | |
74 | 74 | return $node; |
@@ -295,7 +295,7 @@ discard block |
||
295 | 295 | } |
296 | 296 | |
297 | 297 | /** |
298 | - * @param array $keys |
|
298 | + * @param string[] $keys |
|
299 | 299 | * |
300 | 300 | * @return string |
301 | 301 | */ |
@@ -327,7 +327,7 @@ discard block |
||
327 | 327 | /** |
328 | 328 | * @param string $id |
329 | 329 | * |
330 | - * @return null|true |
|
330 | + * @return null|boolean |
|
331 | 331 | */ |
332 | 332 | public function restoreTemporaryUnset($id) |
333 | 333 | { |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Superdesk Web Publisher Templates System. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Superdesk Web Publisher Templates System Component. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Superdesk Web Publisher Templates System. |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | /* |
6 | 6 | * This file is part of the Superdesk Web Publisher Templates System. |