@@ -105,9 +105,9 @@ |
||
105 | 105 | 'The CacheManager will drops the support of primitive configuration arrays, use a "\Phpfastcache\Config\ConfigurationOption" object instead', |
106 | 106 | E_USER_DEPRECATED |
107 | 107 | ); |
108 | - }elseif ($config === null){ |
|
108 | + } elseif ($config === null){ |
|
109 | 109 | $config = self::getDefaultConfig(); |
110 | - }else if(!($config instanceof ConfigurationOption)){ |
|
110 | + } else if(!($config instanceof ConfigurationOption)){ |
|
111 | 111 | throw new PhpfastcacheInvalidArgumentException(\sprintf('Unsupported config type: %s', gettype($config))); |
112 | 112 | } |
113 | 113 |