Passed
Pull Request — master (#5)
by
unknown
01:39
created
Source/Model/SimplePHP.class.php 1 patch
Braces   +6 added lines, -4 removed lines patch added patch discarded remove patch
@@ -194,11 +194,13 @@
 block discarded – undo
194 194
      */
195 195
     public function __call(String $name, $arguments) : ?SimplePHP
196 196
     {
197
-        if ($name === 'skip')
198
-            return $this->offset($arguments[0]);
197
+        if ($name === 'skip') {
198
+                    return $this->offset($arguments[0]);
199
+        }
199 200
 
200
-        if ($name === 'take')
201
-            return $this->limit($arguments[0]);
201
+        if ($name === 'take') {
202
+                    return $this->limit($arguments[0]);
203
+        }
202 204
 
203 205
         $this->writeLog("This method does not exist at the SimplePHP: \"<b>{$name}</b>\".");
204 206
         return null;
Please login to merge, or discard this patch.