Completed
Pull Request — master (#53)
by Daniel
08:27 queued 04:20
created
src/Metadata/Driver/XmlDriver.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -73,6 +73,9 @@
 block discarded – undo
73 73
         return $classMetadata;
74 74
     }
75 75
 
76
+    /**
77
+     * @param string $type
78
+     */
76 79
     private function extractOptionSet(\DOMXpath $xpath, \DOMElement $fieldEl, $type)
77 80
     {
78 81
         foreach ($xpath->query('./psict:' . $type, $fieldEl) as $setEl) {
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
 
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
             'field_type',
43 43
         ]);
44 44
         $options->setDefault('field_options', []);
45
-        $options->setFormMapper(function ($options, $sharedOptions) {
45
+        $options->setFormMapper(function($options, $sharedOptions) {
46 46
             $field = $this->registry->get($sharedOptions['field_type']);
47 47
             $resolver = new FieldOptionsResolver();
48 48
             $field->configureOptions($resolver);
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
             ];
57 57
         });
58 58
 
59
-        $options->setViewMapper(function ($options, $shared) {
59
+        $options->setViewMapper(function($options, $shared) {
60 60
             return [
61 61
                 'field_type' => $shared['field_type'],
62 62
                 'field_options' => $shared['field_options'],
Please login to merge, or discard this patch.