Mise à jour des librairies vendor
This commit is contained in:
2
vendor/google/auth/src/Cache/Item.php
vendored
2
vendor/google/auth/src/Cache/Item.php
vendored
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user