Completed
Push — master ( 96d434...f2324b )
by Daniel
04:52 queued 55s
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 (array $options, array $shared) {
45
+        $options->setFormMapper(function(array $options, array $shared) {
46 46
 
47 47
             // default to allowing add / delete (contrary to the form types
48 48
             // default behavior).
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
             return $options;
65 65
         });
66 66
 
67
-        $options->setViewMapper(function ($options, $shared) {
67
+        $options->setViewMapper(function($options, $shared) {
68 68
             return array_merge($options, [
69 69
                 'field_type' => $shared['field_type'],
70 70
                 'field_options' => $shared['field_options'],
Please login to merge, or discard this patch.