@@ -117,9 +117,9 @@ discard block |
||
117 | 117 | 'The CacheManager will drops the support of primitive configuration arrays, use a "\Phpfastcache\Config\ConfigurationOption" object instead', |
118 | 118 | E_USER_DEPRECATED |
119 | 119 | ); |
120 | - }elseif ($config === null){ |
|
120 | + } elseif ($config === null){ |
|
121 | 121 | $config = self::getDefaultConfig(); |
122 | - }else if(!($config instanceof ConfigurationOption)){ |
|
122 | + } else if(!($config instanceof ConfigurationOption)){ |
|
123 | 123 | throw new PhpfastcacheInvalidArgumentException(\sprintf('Unsupported config type: %s', gettype($config))); |
124 | 124 | } |
125 | 125 | |
@@ -404,7 +404,7 @@ discard block |
||
404 | 404 | { |
405 | 405 | if(!empty(self::$driverCustoms[$driverName])){ |
406 | 406 | $driverClass = self::$driverCustoms[$driverName]; |
407 | - }else if(!empty(self::$driverOverrides[$driverName])){ |
|
407 | + } else if(!empty(self::$driverOverrides[$driverName])){ |
|
408 | 408 | $driverClass = self::$driverOverrides[$driverName]; |
409 | 409 | } else{ |
410 | 410 | $driverClass = self::getNamespacePath() . $driverName . '\Driver'; |