@@ -74,9 +74,9 @@ |
||
| 74 | 74 | */ |
| 75 | 75 | public function __call($name, $args) |
| 76 | 76 | { |
| 77 | - if(method_exists($this->instance, $name)){ |
|
| 77 | + if (method_exists($this->instance, $name)) { |
|
| 78 | 78 | return call_user_func_array([$this->instance, $name], $args); |
| 79 | - }else{ |
|
| 79 | + } else { |
|
| 80 | 80 | throw new \BadMethodCallException(sprintf('Method %s does not exists', $name)); |
| 81 | 81 | } |
| 82 | 82 | } |
@@ -273,7 +273,7 @@ |
||
| 273 | 273 | |
| 274 | 274 | if (!is_dir($path)) { |
| 275 | 275 | throw new phpFastCacheDriverException("Can't read PATH:" . $path, 94); |
| 276 | - }else{ |
|
| 276 | + } else{ |
|
| 277 | 277 | $size = Directory::dirSize($path); |
| 278 | 278 | } |
| 279 | 279 | |