Completed
Push — v7 ( 33961e...3db5c2 )
by Georges
02:15
created
lib/Phpfastcache/CacheManager.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -105,9 +105,9 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.