]> git.mxchange.org Git - friendica.git/blobdiff - src/Console/Typo.php
Convert class calls into DI calls
[friendica.git] / src / Console / Typo.php
index 633ec1ec38bf539b2cbb326d665349b4f63dd7e8..1397f6092fa97f7b39d29ff90673ad90e5b83562 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,7 +21,7 @@
 
 namespace Friendica\Console;
 
-use Friendica\Core\Config\IConfig;
+use Friendica\Core\Config\Capability\IManageConfigValues;
 
 /**
  * Tired of chasing typos and finding them after a commit.
@@ -32,7 +32,7 @@ class Typo extends \Asika\SimpleConsole\Console
        protected $helpOptions = ['h', 'help', '?'];
 
        /**
-        * @var IConfig
+        * @var IManageConfigValues
         */
        private $config;
 
@@ -53,7 +53,7 @@ HELP;
                return $help;
        }
 
-       public function __construct(IConfig $config, array $argv = null)
+       public function __construct(IManageConfigValues $config, array $argv = null)
        {
                parent::__construct($argv);