Completed
Pull Request — master (#36)
by Daniel
06:56 queued 04:08
created
src/Standard/View/ObjectType.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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()
Please login to merge, or discard this patch.
src/View/Renderer/PhpRenderer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,7 @@
 block discarded – undo
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);
Please login to merge, or discard this patch.
src/Standard/Field/CollectionField.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
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']
Please login to merge, or discard this patch.