Passed
Pull Request — master (#9)
by Deric
02:22
created
lib/Builder.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -95,8 +95,7 @@
 block discarded – undo
95 95
             if (preg_match('/^-.*$/', $key, $matches))
96 96
             {
97 97
                 $arguments[] = is_bool($value) ? $key : str_pad($key, strlen($key) + 1, ' ', STR_PAD_RIGHT) . $value;
98
-            }
99
-            else
98
+            } else
100 99
             {
101 100
                 $arguments[] = is_array($value) ? implode(' ', $value) : $value;
102 101
             }
Please login to merge, or discard this patch.
lib/Configuration.php 1 patch
Braces   +3 added lines, -1 removed lines patch added patch discarded remove patch
@@ -320,10 +320,12 @@
 block discarded – undo
320 320
      */
321 321
     final public function get_methods()
322 322
     {
323
-        if (if (isset($this->methods)) || !empty($this->methods))
323
+        if (if (isset($this->methods)) {
324
+            || !empty($this->methods))
324 325
         {
325 326
             return $this->methods;
326 327
         }
328
+        }
327 329
     }
328 330
 
329 331
     /**
Please login to merge, or discard this patch.