@@ -177,7 +177,7 @@ discard block |
||
177 | 177 | $config = self::validateConfig($config); |
178 | 178 | $driver = self::standardizeDriverName($driver); |
179 | 179 | |
180 | - $instanceId = $instanceId ?: md5($driver . serialize(\array_filter($config->toArray(), static function ($val){ |
|
180 | + $instanceId = $instanceId ?: md5($driver . serialize(\array_filter($config->toArray(), static function($val) { |
|
181 | 181 | return !\is_callable($val); |
182 | 182 | }))); |
183 | 183 | |
@@ -320,7 +320,7 @@ discard block |
||
320 | 320 | $found = false; |
321 | 321 | self::$instances = \array_filter( |
322 | 322 | \array_map( |
323 | - static function (ExtendedCacheItemPoolInterface $cachePool) use ($cachePoolInstance, &$found) { |
|
323 | + static function(ExtendedCacheItemPoolInterface $cachePool) use ($cachePoolInstance, &$found) { |
|
324 | 324 | if (\spl_object_hash($cachePool) === \spl_object_hash($cachePoolInstance)) { |
325 | 325 | $found = true; |
326 | 326 | return null; |