@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | $config = self::validateConfig($config); |
141 | 141 | $driver = self::standardizeDriverName($driver); |
142 | 142 | |
143 | - $instanceId = $instanceId ?: md5($driver . \serialize(\array_filter($config->toArray(), static fn ($val) => !\is_callable($val)))); |
|
143 | + $instanceId = $instanceId ?: md5($driver . \serialize(\array_filter($config->toArray(), static fn($val) => !\is_callable($val)))); |
|
144 | 144 | |
145 | 145 | if (!isset(self::$instances[$instanceId])) { |
146 | 146 | $driverClass = self::validateDriverClass(self::getDriverClass($driver)); |
@@ -263,7 +263,7 @@ discard block |
||
263 | 263 | $found = false; |
264 | 264 | self::$instances = \array_filter( |
265 | 265 | \array_map( |
266 | - static function (ExtendedCacheItemPoolInterface $cachePool) use ($cachePoolInstance, &$found) { |
|
266 | + static function(ExtendedCacheItemPoolInterface $cachePool) use ($cachePoolInstance, &$found) { |
|
267 | 267 | if (\spl_object_hash($cachePool) === \spl_object_hash($cachePoolInstance)) { |
268 | 268 | $found = true; |
269 | 269 | return null; |