Passed
Push — master ( 8fdb0a...1e81a9 )
by Nícollas
01:45
created
Source/Model/SimplePHP.class.php 1 patch
Braces   +9 added lines, -5 removed lines patch added patch discarded remove patch
@@ -194,11 +194,13 @@  discard block
 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;
@@ -221,7 +223,9 @@  discard block
 block discarded – undo
221 223
     {
222 224
         if (!empty($this->excepts)) {
223 225
             foreach ($this->excepts as $except) {
224
-                if (isset($this->data[$except])) unset($this->data[$except]);
226
+                if (isset($this->data[$except])) {
227
+                    unset($this->data[$except]);
228
+                }
225 229
             }
226 230
         }
227 231
     }
Please login to merge, or discard this patch.