refactor usage of Friendica\App namespace

This commit is contained in:
Art4 2024-11-11 00:30:58 +00:00
parent 629c4af3c8
commit 20f5a96fe0
29 changed files with 93 additions and 82 deletions

View file

@ -8,7 +8,7 @@
namespace Friendica\Console;
use Console_Table;
use Friendica\App;
use Friendica\App\Mode;
use Friendica\Content\Pager;
use Friendica\Core\L10n;
use Friendica\Core\PConfig\Capability\IManagePersonalConfigValues;
@ -26,7 +26,7 @@ class User extends \Asika\SimpleConsole\Console
protected $helpOptions = ['h', 'help', '?'];
/**
* @var App\Mode
* @var Mode
*/
private $appMode;
/**
@ -74,7 +74,7 @@ HELP;
return $help;
}
public function __construct(App\Mode $appMode, L10n $l10n, IManagePersonalConfigValues $pConfig, array $argv = null)
public function __construct(Mode $appMode, L10n $l10n, IManagePersonalConfigValues $pConfig, array $argv = null)
{
parent::__construct($argv);