mirror of
https://github.com/friendica/friendica
synced 2024-12-22 19:20:17 +00:00
Fix errors in Console namespace
This commit is contained in:
parent
fef844cc68
commit
88f693bb71
5 changed files with 13 additions and 9 deletions
|
@ -10,6 +10,7 @@ namespace Friendica\Console;
|
|||
use Friendica\App\BaseURL;
|
||||
use Friendica\Contact\Avatar;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Database\Database;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Core\Config\Capability\IManageConfigValues;
|
||||
|
||||
|
@ -21,12 +22,12 @@ class ClearAvatarCache extends \Asika\SimpleConsole\Console
|
|||
protected $helpOptions = ['h', 'help', '?'];
|
||||
|
||||
/**
|
||||
* @var $dba Friendica\Database\Database
|
||||
* @var Database
|
||||
*/
|
||||
private $dba;
|
||||
|
||||
/**
|
||||
* @var $baseurl Friendica\App\BaseURL
|
||||
* @var BaseURL
|
||||
*/
|
||||
private $baseUrl;
|
||||
|
||||
|
|
|
@ -9,6 +9,7 @@ namespace Friendica\Console;
|
|||
|
||||
use Console_Table;
|
||||
use Friendica\App\Mode;
|
||||
use Friendica\Core\PConfig\Capability\IManagePersonalConfigValues;
|
||||
use Friendica\DI;
|
||||
use Friendica\Model\Contact as ContactModel;
|
||||
use Friendica\Model\User as UserModel;
|
||||
|
@ -29,7 +30,7 @@ class Contact extends \Asika\SimpleConsole\Console
|
|||
*/
|
||||
private $appMode;
|
||||
/**
|
||||
* @var IPConfig
|
||||
* @var IManagePersonalConfigValues
|
||||
*/
|
||||
private $pConfig;
|
||||
|
||||
|
|
|
@ -19,7 +19,7 @@ class MergeContacts extends \Asika\SimpleConsole\Console
|
|||
protected $helpOptions = ['h', 'help', '?'];
|
||||
|
||||
/**
|
||||
* @var $dba Database
|
||||
* @var Database
|
||||
*/
|
||||
private $dba;
|
||||
|
||||
|
|
|
@ -9,12 +9,13 @@ namespace Friendica\Console;
|
|||
|
||||
use Friendica\App\BaseURL;
|
||||
use Friendica\Contact\Avatar;
|
||||
use Friendica\Core\Config\Capability\IManageConfigValues;
|
||||
use Friendica\Core\L10n;
|
||||
use Friendica\Core\Protocol;
|
||||
use Friendica\Database\Database;
|
||||
use Friendica\Model\Contact;
|
||||
use Friendica\Model\Photo;
|
||||
use Friendica\Object\Image;
|
||||
use Friendica\Core\Config\Capability\IManageConfigValues;
|
||||
use Friendica\Core\Protocol;
|
||||
|
||||
/**
|
||||
* tool to move cached avatars to the avatar file cache.
|
||||
|
@ -24,12 +25,12 @@ class MoveToAvatarCache extends \Asika\SimpleConsole\Console
|
|||
protected $helpOptions = ['h', 'help', '?'];
|
||||
|
||||
/**
|
||||
* @var $dba Friendica\Database\Database
|
||||
* @var Database
|
||||
*/
|
||||
private $dba;
|
||||
|
||||
/**
|
||||
* @var $baseurl Friendica\App\BaseURL
|
||||
* @var BaseURL
|
||||
*/
|
||||
private $baseUrl;
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
namespace Friendica\Console;
|
||||
|
||||
use Asika\SimpleConsole\CommandArgsException;
|
||||
use Friendica\Database\Database;
|
||||
use Friendica\Model\APContact;
|
||||
use Friendica\Protocol\ActivityPub\Transmitter;
|
||||
use Friendica\Protocol\Relay as ProtocolRelay;
|
||||
|
@ -23,7 +24,7 @@ class Relay extends \Asika\SimpleConsole\Console
|
|||
protected $helpOptions = ['h', 'help', '?'];
|
||||
|
||||
/**
|
||||
* @var $dba Friendica\Database\Database
|
||||
* @var Database
|
||||
*/
|
||||
private $dba;
|
||||
|
||||
|
|
Loading…
Reference in a new issue