diff options
Diffstat (limited to 'core/Translation/Loader/LoaderCache.php')
-rw-r--r-- | core/Translation/Loader/LoaderCache.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/core/Translation/Loader/LoaderCache.php b/core/Translation/Loader/LoaderCache.php index 8ad7dc1ad9..5448e1aef4 100644 --- a/core/Translation/Loader/LoaderCache.php +++ b/core/Translation/Loader/LoaderCache.php @@ -25,11 +25,10 @@ class LoaderCache implements LoaderInterface */ private $cache; - public function __construct(LoaderInterface $loader, Cache\Lazy $cache = null) + public function __construct(LoaderInterface $loader, Cache\Lazy $cache) { $this->loader = $loader; - // TODO DI - $this->cache = $cache ?: Cache::getLazyCache(); + $this->cache = $cache; } /** |