summaryrefslogtreecommitdiff
path: root/vendor/symfony/cache/Adapter/ChainAdapter.php
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/symfony/cache/Adapter/ChainAdapter.php')
-rw-r--r--vendor/symfony/cache/Adapter/ChainAdapter.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/vendor/symfony/cache/Adapter/ChainAdapter.php b/vendor/symfony/cache/Adapter/ChainAdapter.php
index 9334ce3d3b..72ff4c19fb 100644
--- a/vendor/symfony/cache/Adapter/ChainAdapter.php
+++ b/vendor/symfony/cache/Adapter/ChainAdapter.php
@@ -44,7 +44,7 @@ class ChainAdapter implements AdapterInterface, PruneableInterface, ResettableIn
foreach ($adapters as $adapter) {
if (!$adapter instanceof CacheItemPoolInterface) {
- throw new InvalidArgumentException(sprintf('The class "%s" does not implement the "%s" interface.', get_class($adapter), CacheItemPoolInterface::class));
+ throw new InvalidArgumentException(sprintf('The class "%s" does not implement the "%s" interface.', \get_class($adapter), CacheItemPoolInterface::class));
}
if ($adapter instanceof AdapterInterface) {
@@ -53,7 +53,7 @@ class ChainAdapter implements AdapterInterface, PruneableInterface, ResettableIn
$this->adapters[] = new ProxyAdapter($adapter);
}
}
- $this->adapterCount = count($this->adapters);
+ $this->adapterCount = \count($this->adapters);
$this->syncItem = \Closure::bind(
function ($sourceItem, $item) use ($defaultLifetime) {