Skip to content
Permalink
Browse files

Fixed undefined variable in ArrayTrait

  • Loading branch information...
eXtreme committed Jun 5, 2019
1 parent 93a385b commit 49a25e59dfc1571a74137e1800c7fe4280282a70
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Symfony/Component/Cache/Traits/ArrayTrait.php
@@ -129,7 +129,7 @@ private function freeze($value, $key)
} catch (\Exception $e) {
$type = \is_object($value) ? \get_class($value) : \gettype($value);
$message = sprintf('Failed to save key "{key}" of type %s: %s', $type, $e->getMessage());
CacheItem::log($this->logger, $message, ['key' => substr($key, \strlen($this->namespace)), 'exception' => $e]);
CacheItem::log($this->logger, $message, ['key' => $key, 'exception' => $e]);
return;
}

0 comments on commit 49a25e5

Please sign in to comment.
You can’t perform that action at this time.