Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/Translation/Loader/LoaderCache.php')
-rw-r--r--core/Translation/Loader/LoaderCache.php5
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;
}
/**