]> git.mxchange.org Git - friendica.git/blobdiff - src/Util/Profiler.php
Added processing of incoming block notices
[friendica.git] / src / Util / Profiler.php
index 0ff338353eb51533d3d546eb52428e9e1e97c8c8..24289678c266a41450b751fff3b6132ff8355cd7 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -21,8 +21,8 @@
 
 namespace Friendica\Util;
 
-use Friendica\Core\Config\Cache\Cache;
-use Friendica\Core\Config\IConfig;
+use Friendica\Core\Config\ValueObject\Cache;
+use Friendica\Core\Config\Capability\IManageConfigValues;
 use Friendica\Core\System;
 use Psr\Container\ContainerExceptionInterface;
 use Psr\Container\ContainerInterface;
@@ -69,16 +69,16 @@ class Profiler implements ContainerInterface
        /**
         * Updates the enabling of the current profiler
         *
-        * @param IConfig $config
+        * @param IManageConfigValues $config
         */
-       public function update(IConfig $config)
+       public function update(IManageConfigValues $config)
        {
                $this->enabled = $config->get('system', 'profiler');
                $this->rendertime = $config->get('rendertime', 'callstack');
        }
 
        /**
-        * @param \Friendica\Core\Config\Cache\Cache $configCache The configuration cache
+        * @param \Friendica\Core\Config\ValueObject\Cache $configCache The configuration cache
         */
        public function __construct(Cache $configCache)
        {