<?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
*
use Asika\SimpleConsole\Console;
use Friendica\App;
use Friendica\App\BaseURL;
-use Friendica\Core\Config\IConfig;
-use Friendica\Core\Config\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;
{
/** @var App\Mode */
private $appMode;
- /** @var Cache */
+ /** @var \Friendica\Core\Config\ValueObject\Cache */
private $configCache;
- /** @var IConfig */
+ /** @var IManageConfigValues */
private $config;
/** @var Database */
private $dba;
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);
}
/**
- * @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