]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/Profiler.php
Make EMailer util dynamic
[friendica.git] / src / Util / Profiler.php
index e4061f51941d251ef2d448fb1bfcaa723e5c3ac2..c3fddfac70f4a3751d356ef2dca941b046c7c360 100644 (file)
@@ -2,7 +2,7 @@
 
 namespace Friendica\Util;
 
-use Friendica\Core\Config\Cache\ConfigCache;
+use Friendica\Core\Config\Cache;
 use Friendica\Core\Config\IConfig;
 use Psr\Container\ContainerExceptionInterface;
 use Psr\Container\ContainerInterface;
@@ -56,9 +56,9 @@ class Profiler implements ContainerInterface
        }
 
        /**
-        * @param ConfigCache $configCache The configuration cache
+        * @param Cache $configCache The configuration cache
         */
-       public function __construct(ConfigCache $configCache)
+       public function __construct(Cache $configCache)
        {
                $this->enabled = $configCache->get('system', 'profiler');
                $this->rendertime = $configCache->get('rendertime', 'callstack');