@@ -194,11 +194,13 @@ discard block |
||
| 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 |
||
| 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 | } |