@@ -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; |
@@ -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. |