@@ -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\View; |
6 | 6 | |
@@ -38,7 +38,7 @@ discard block |
||
38 | 38 | } |
39 | 39 | |
40 | 40 | foreach ($metadata->getPropertyMetadata() as $propertyMetadata) { |
41 | - $map[$propertyMetadata->getName()] = function () use ($propertyMetadata, $factory, $data) { |
|
41 | + $map[$propertyMetadata->getName()] = function() use ($propertyMetadata, $factory, $data) { |
|
42 | 42 | $field = $this->fieldLoader->load( |
43 | 43 | $propertyMetadata->getType(), |
44 | 44 | $propertyMetadata->getOptions() |
@@ -27,7 +27,7 @@ |
||
27 | 27 | )); |
28 | 28 | } |
29 | 29 | |
30 | - $output = function () use ($view, $templatePath) { |
|
30 | + $output = function() use ($view, $templatePath) { |
|
31 | 31 | ob_start(); |
32 | 32 | $renderer = $this; |
33 | 33 | require($templatePath); |
@@ -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 | |
@@ -43,7 +43,7 @@ discard block |
||
43 | 43 | 'field_type', |
44 | 44 | ]); |
45 | 45 | $options->setDefault('field_options', []); |
46 | - $options->setFormMapper(function ($options) { |
|
46 | + $options->setFormMapper(function($options) { |
|
47 | 47 | $field = $this->registry->get($options['field_type']); |
48 | 48 | $resolver = new FieldOptionsResolver(); |
49 | 49 | $field->configureOptions($resolver); |
@@ -57,7 +57,7 @@ discard block |
||
57 | 57 | ]; |
58 | 58 | }); |
59 | 59 | |
60 | - $options->setViewMapper(function ($options) { |
|
60 | + $options->setViewMapper(function($options) { |
|
61 | 61 | return [ |
62 | 62 | 'field_type' => $options['field_type'], |
63 | 63 | 'field_options' => $options['field_options'] |