@@ -186,7 +186,7 @@ |
||
| 186 | 186 | public function exceptionHandler(\Throwable $exception) { |
| 187 | 187 | if($exception instanceof PhpfastcacheDriverCheckException){ |
| 188 | 188 | $this->printSkipText('A driver could not be initialized due to missing requirement: ' . $exception->getMessage()); |
| 189 | - }else{ |
|
| 189 | + } else{ |
|
| 190 | 190 | $this->printFailText(sprintf( |
| 191 | 191 | 'Uncaught exception "%s" in "%s" line %d with message: "%s"', |
| 192 | 192 | \get_class($exception), |
@@ -102,9 +102,9 @@ |
||
| 102 | 102 | 'The CacheManager will drops the support of primitive configuration arrays, use a "\Phpfastcache\Config\ConfigurationOption" object instead', |
| 103 | 103 | E_USER_DEPRECATED |
| 104 | 104 | ); |
| 105 | - }elseif ($config === null){ |
|
| 105 | + } elseif ($config === null){ |
|
| 106 | 106 | $config = self::getDefaultConfig(); |
| 107 | - }else if(!($config instanceof ConfigurationOption)){ |
|
| 107 | + } else if(!($config instanceof ConfigurationOption)){ |
|
| 108 | 108 | throw new PhpfastcacheInvalidArgumentException(sprintf('Unsupported config type: %s', gettype($config))); |
| 109 | 109 | } |
| 110 | 110 | |