@@ -18,9 +18,9 @@ discard block |
||
| 18 | 18 | /** |
| 19 | 19 | * Register Autoload |
| 20 | 20 | */ |
| 21 | -spl_autoload_register(function ($entity) { |
|
| 21 | +spl_autoload_register(function($entity) { |
|
| 22 | 22 | $module = explode('\\', $entity, 2); |
| 23 | - if (!in_array($module[ 0 ], ['phpFastCache', 'Psr'])) { |
|
| 23 | + if (!in_array($module[0], ['phpFastCache', 'Psr'])) { |
|
| 24 | 24 | /** |
| 25 | 25 | * Not a part of phpFastCache file |
| 26 | 26 | * then we return here. |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | |
| 32 | 32 | if (is_readable($path)) { |
| 33 | 33 | require_once $path; |
| 34 | - }else{ |
|
| 34 | + } else { |
|
| 35 | 35 | trigger_error('Cannot locate the Psr/Cache files', E_USER_ERROR); |
| 36 | 36 | } |
| 37 | 37 | return; |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | |
| 41 | 41 | if (is_readable($path)) { |
| 42 | 42 | require_once $path; |
| 43 | - }else{ |
|
| 43 | + } else { |
|
| 44 | 44 | trigger_error('Cannot locate the Psr/SimpleCache files', E_USER_ERROR); |
| 45 | 45 | } |
| 46 | 46 | return; |