Merge pull request #7415 from open-sausages/pulls/4.0/no-cache-in-my-home

Fix typos in FilesystemCacheFactory
This commit is contained in:
Damian Mooyman 2017-10-02 16:53:52 +13:00 committed by GitHub
commit 17718e3854

View File

@ -27,8 +27,8 @@ class FilesystemCacheFactory implements CacheFactory
public function create($service, array $params = array()) public function create($service, array $params = array())
{ {
return Injector::inst()->create(FilesystemCache::class, false, [ return Injector::inst()->create(FilesystemCache::class, false, [
(isset($args['namespace'])) ? $args['namespace'] : '', (isset($params['namespace'])) ? $params['namespace'] : '',
(isset($args['defaultLifetime'])) ? $args['defaultLifetime'] : 0, (isset($params['defaultLifetime'])) ? $params['defaultLifetime'] : 0,
$this->directory $this->directory
]); ]);
} }