Completed
Push — master ( 3a502e...661c35 )
by Steve
06:26 queued 02:16
created
src/FieldsBuilder.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -69,8 +69,7 @@  discard block
 block discarded – undo
69 69
         foreach($fields as $i => $field) {
70 70
             if (is_subclass_of($field, Builder::class)) {
71 71
                 $builtFields[] = $field->build();
72
-            }
73
-            else {
72
+            } else {
74 73
                 $builtFields[] = $field;
75 74
             }
76 75
         }
@@ -112,8 +111,7 @@  discard block
 block discarded – undo
112 111
             foreach ($fields->getFields() as $field) {
113 112
                 $this->pushField($field);
114 113
             }
115
-        }
116
-        else {
114
+        } else {
117 115
             foreach ($fields as $field) {
118 116
                 $this->pushField($field);
119 117
             }
Please login to merge, or discard this patch.
autoload.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,9 @@
 block discarded – undo
20 20
 
21 21
 spl_autoload_register(function($cls) {
22 22
     $cls = ltrim($cls, '\\');
23
-    if (strpos($cls, __NAMESPACE__) !== 0) return;
23
+    if (strpos($cls, __NAMESPACE__) !== 0) {
24
+        return;
25
+    }
24 26
 
25 27
     $classWithoutBaseNamespace = str_replace(__NAMESPACE__, '', $cls);
26 28
 
Please login to merge, or discard this patch.