]> git.mxchange.org Git - friendica.git/blobdiff - src/Console/AutomaticInstallation.php
Merge pull request #10961 from annando/deprecated
[friendica.git] / src / Console / AutomaticInstallation.php
index 9ef82524aab835f5e8a51f1e2a3c20f0eed39751..8be1b34cf973f3565e3b30a258ffe40c1a82feeb 100644 (file)
@@ -24,8 +24,8 @@ namespace Friendica\Console;
 use Asika\SimpleConsole\Console;
 use Friendica\App;
 use Friendica\App\BaseURL;
-use Friendica\Core\Config\IConfig;
-use Friendica\Core\Config\Cache\Cache;
+use Friendica\Core\Config\Capability\IManageConfigValues;
+use Friendica\Core\Config\ValueObject\Cache;
 use Friendica\Core\Installer;
 use Friendica\Core\Theme;
 use Friendica\Database\Database;
@@ -36,9 +36,9 @@ class AutomaticInstallation extends Console
 {
        /** @var App\Mode */
        private $appMode;
-       /** @var \Friendica\Core\Config\Cache\Cache */
+       /** @var \Friendica\Core\Config\ValueObject\Cache */
        private $configCache;
-       /** @var IConfig */
+       /** @var IManageConfigValues */
        private $config;
        /** @var Database */
        private $dba;
@@ -98,7 +98,7 @@ Examples
 HELP;
        }
 
-       public function __construct(App\Mode $appMode, Cache $configCache, IConfig $config, Database $dba, array $argv = null)
+       public function __construct(App\Mode $appMode, Cache $configCache, IManageConfigValues $config, Database $dba, array $argv = null)
        {
                parent::__construct($argv);
 
@@ -252,8 +252,8 @@ HELP;
        }
 
        /**
-        * @param Installer $installer   The Installer instance
-        * @param Cache     $configCache The config cache
+        * @param Installer                                $installer   The Installer instance
+        * @param \Friendica\Core\Config\ValueObject\Cache $configCache The config cache
         *
         * @return bool true if checks were successfully, otherwise false
         * @throws \Friendica\Network\HTTPException\InternalServerErrorException