Completed
Push — master ( dfdc6c...3a502e )
by Steve
02:35
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.
src/ConditionalBuilder.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -59,12 +59,10 @@
 block discarded – undo
59 59
         if ($methodName === 'and') {
60 60
             list($name, $operator, $value) = $arguments;
61 61
             return $this->andCondition($name, $operator, $value);
62
-        }
63
-        else if ($methodName === 'or') {
62
+        } else if ($methodName === 'or') {
64 63
             list($name, $operator, $value) = $arguments;
65 64
             return $this->orCondition($name, $operator, $value);
66
-        }
67
-        else {
65
+        } else {
68 66
             return parent::__call($methodName, $arguments);
69 67
         }
70 68
     }
Please login to merge, or discard this patch.