@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace SWP\Bundle\ContentBundle\Service; |
6 | 6 |
@@ -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 Content Bundle. |
@@ -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 Core Bundle. |
@@ -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 Core Bundle. |
@@ -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 Core Bundle. |
@@ -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 Core Bundle. |
@@ -88,7 +88,7 @@ discard block |
||
88 | 88 | $this->initialized = true; |
89 | 89 | $stringyClass = new \ReflectionClass('Stringy\Stringy'); |
90 | 90 | $methods = $stringyClass->getMethods(\ReflectionMethod::IS_PUBLIC); |
91 | - $names = array_map(function ($value) { |
|
91 | + $names = array_map(function($value) { |
|
92 | 92 | return $value->getName(); |
93 | 93 | }, $methods); |
94 | 94 | |
@@ -105,7 +105,7 @@ discard block |
||
105 | 105 | if (array_key_exists($name, $this->environment->getFunctions())) { |
106 | 106 | continue; |
107 | 107 | } |
108 | - $this->functions[$name] = new \Twig_SimpleFunction($name, function () use ($name) { |
|
108 | + $this->functions[$name] = new \Twig_SimpleFunction($name, function() use ($name) { |
|
109 | 109 | return call_user_func_array(['Stringy\StaticStringy', $name], func_get_args()); |
110 | 110 | }); |
111 | 111 | } else { |
@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | if (array_key_exists($name, $this->environment->getFilters())) { |
114 | 114 | continue; |
115 | 115 | } |
116 | - $this->filters[$name] = new \Twig_SimpleFilter($name, function () use ($name) { |
|
116 | + $this->filters[$name] = new \Twig_SimpleFilter($name, function() use ($name) { |
|
117 | 117 | return call_user_func_array(['Stringy\StaticStringy', $name], func_get_args()); |
118 | 118 | }); |
119 | 119 | } |
@@ -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 Core Bundle. |
@@ -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 Core Bundle. |