@@ -1,6 +1,6 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Psi\Component\ContentType\Standard\Field; |
6 | 6 | |
@@ -31,7 +31,7 @@ discard block |
||
31 | 31 | public function configureOptions(FieldOptionsResolver $options) |
32 | 32 | { |
33 | 33 | $options->setDefault('tag', null); |
34 | - $options->setViewMapper(function (array $options) { |
|
34 | + $options->setViewMapper(function(array $options) { |
|
35 | 35 | return [ |
36 | 36 | 'tag' => $options['tag'], |
37 | 37 | ]; |
@@ -20,10 +20,10 @@ |
||
20 | 20 | |
21 | 21 | private function loadTwig() |
22 | 22 | { |
23 | - $this['psi_content_type.view.twig.renderer'] = function ($container) { |
|
23 | + $this['psi_content_type.view.twig.renderer'] = function($container) { |
|
24 | 24 | return new TwigRenderer($container['twig']); |
25 | 25 | }; |
26 | - $this['twig'] = function () { |
|
26 | + $this['twig'] = function() { |
|
27 | 27 | $twig = new \Twig_Environment(new \Twig_Loader_Filesystem(__DIR__ . '/../../templates'), [ |
28 | 28 | 'debug' => true, |
29 | 29 | 'strict_variables' => true, |