[Cache] fix typo
This commit is contained in:
parent
661225075c
commit
7d99badff7
@ -91,7 +91,7 @@ class ChainAdapter implements AdapterInterface, CacheInterface, PruneableInterfa
|
|||||||
{
|
{
|
||||||
$lastItem = null;
|
$lastItem = null;
|
||||||
$i = 0;
|
$i = 0;
|
||||||
$wrap = function (CacheItem $item = null) use ($key, $callback, $beta, &$wrap, &$i, &$lastItem) {
|
$wrap = function (CacheItem $item = null) use ($key, $callback, $beta, &$wrap, &$i, &$lastItem, &$metadata) {
|
||||||
$adapter = $this->adapters[$i];
|
$adapter = $this->adapters[$i];
|
||||||
if (isset($this->adapters[++$i])) {
|
if (isset($this->adapters[++$i])) {
|
||||||
$callback = $wrap;
|
$callback = $wrap;
|
||||||
|
Reference in New Issue
Block a user