Refactoring Core class structures ...
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user