Shorten "PConfiguration" to "PConfig" again, since the Wrapper is gone

This commit is contained in:
nupplaPhil 2020-01-19 22:23:44 +01:00
parent cb80108957
commit d5a473abda
No known key found for this signature in database
GPG key ID: D8365C3D36B77D90
41 changed files with 219 additions and 216 deletions

View file

@ -20,7 +20,7 @@ class AutomaticInstallation extends Console
*/
private $appMode;
/**
* @var Config\Cache\ConfigCache
* @var \Friendica\Core\Config\Cache
*/
private $configCache;
@ -89,7 +89,7 @@ Examples
HELP;
}
public function __construct(App\Mode $appMode, Config\Cache\ConfigCache $configCache, Config\IConfig $config, Database $dba, array $argv = null)
public function __construct(App\Mode $appMode, Config\Cache $configCache, Config\IConfig $config, Database $dba, array $argv = null)
{
parent::__construct($argv);
@ -241,13 +241,13 @@ HELP;
}
/**
* @param Installer $installer The Installer instance
* @param Config\Cache\ConfigCache $configCache The config cache
* @param Installer $installer The Installer instance
* @param \Friendica\Core\Config\Cache $configCache The config cache
*
* @return bool true if checks were successfully, otherwise false
* @throws \Friendica\Network\HTTPException\InternalServerErrorException
*/
private function runBasicChecks(Installer $installer, Config\Cache\ConfigCache $configCache)
private function runBasicChecks(Installer $installer, Config\Cache $configCache)
{
$checked = true;

View file

@ -2,7 +2,7 @@
namespace Friendica\Console;
use Friendica\Core\Config\Cache\ConfigCache;
use Friendica\Core\Config\Cache;
use Friendica\Core\Update;
use Friendica\Database\Database;
use Friendica\Database\DBStructure;
@ -22,7 +22,7 @@ class DatabaseStructure extends \Asika\SimpleConsole\Console
*/
private $dba;
/**
* @var ConfigCache
* @var Cache
*/
private $configCache;
@ -48,7 +48,7 @@ HELP;
return $help;
}
public function __construct(Database $dba, ConfigCache $configCache, $argv = null)
public function __construct(Database $dba, Cache $configCache, $argv = null)
{
parent::__construct($argv);