@@ -192,11 +192,13 @@ discard block |
||
| 192 | 192 | */ |
| 193 | 193 | public function __call(String $name, $arguments) : ?SimplePHP |
| 194 | 194 | { |
| 195 | - if($name === 'skip') |
|
| 196 | - return $this->offset($arguments[0]); |
|
| 195 | + if($name === 'skip') { |
|
| 196 | + return $this->offset($arguments[0]); |
|
| 197 | + } |
|
| 197 | 198 | |
| 198 | - if($name === 'take') |
|
| 199 | - return $this->limit($arguments[0]); |
|
| 199 | + if($name === 'take') { |
|
| 200 | + return $this->limit($arguments[0]); |
|
| 201 | + } |
|
| 200 | 202 | |
| 201 | 203 | return $this->writeLog("This method does not exist at the SimplePHP: \"<b>{$name}</b>\"."); |
| 202 | 204 | } |
@@ -218,7 +220,9 @@ discard block |
||
| 218 | 220 | { |
| 219 | 221 | if (!empty($this->excepts)) { |
| 220 | 222 | foreach ($this->excepts as $except) { |
| 221 | - if (isset($this->data[$except])) unset($this->data[$except]); |
|
| 223 | + if (isset($this->data[$except])) { |
|
| 224 | + unset($this->data[$except]); |
|
| 225 | + } |
|
| 222 | 226 | } |
| 223 | 227 | } |
| 224 | 228 | } |