Passed
Branch develop (de4bc5)
by Steve
03:15
created
src/FieldManager.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -43,7 +43,7 @@  discard block
 block discarded – undo
43 43
             $fields = [$fields];
44 44
         }
45 45
 
46
-        foreach($fields as $i => $field) {
46
+        foreach ($fields as $i => $field) {
47 47
             if ($this->validateField($field)) {
48 48
                 array_splice($this->fields, $index + $i, 0, [$field]);
49 49
             }
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
      */
130 130
     public function getFieldIndex($name)
131 131
     {
132
-        foreach($this->getFields() as $index => $field) {
132
+        foreach ($this->getFields() as $index => $field) {
133 133
             if ($this->getFieldName($field) === $name) {
134 134
                 return $index;
135 135
             }
Please login to merge, or discard this patch.