mirror of
https://github.com/friendica/friendica
synced 2025-05-07 09:04:10 +02:00
Refactoring Core class structures ...
This commit is contained in:
parent
57b4c008cb
commit
b216317477
130 changed files with 1625 additions and 1397 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue