Mise à jour des librairies vendor

This commit is contained in:
Caribana
2018-05-01 14:43:32 +02:00
parent b67375ae8e
commit d776be73fc
5211 changed files with 59115 additions and 25863 deletions

View File

@@ -134,7 +134,7 @@ final class Item implements CacheItemInterface
} else {
$message = 'Argument 1 passed to %s::expiresAfter() must be an ' .
'instance of DateInterval or of the type integer, %s given';
$error = sprintf($message, get_class($this), gettype($expiration));
$error = sprintf($message, get_class($this), gettype($time));
$this->handleError($error);
}

View File

@@ -51,7 +51,6 @@ final class MemoryCacheItemPool implements CacheItemPoolInterface
$items = [];
foreach ($keys as $key) {
$this->isValidKey($key);
$items[$key] = $this->hasItem($key) ? clone $this->items[$key] : new Item($key);
}
@@ -74,7 +73,7 @@ final class MemoryCacheItemPool implements CacheItemPoolInterface
public function clear()
{
$this->items = [];
$this->deferred = [];
$this->deferredItems = [];
return true;
}