Merge pull request #6674 from oilee80/master

Fix for APCu cache otherwise you get 'Cache key must be string, "bool…
This commit is contained in:
Daniel Hensby 2017-03-03 12:17:06 +00:00 committed by GitHub
commit d01da57da1

View File

@ -44,7 +44,7 @@ class DefaultCacheFactory implements CacheFactory
/**
* @inheritdoc
*/
public function create($service, array $params = array())
public function create($service, array $args = array())
{
$namespace = (isset($args['namespace'])) ? $args['namespace'] : '';
$defaultLifetime = (isset($args['defaultLifetime'])) ? $args['defaultLifetime'] : 0;