Refactoring Core class structures ...

This commit is contained in:
Philipp
2021-10-26 21:44:29 +02:00
parent 57b4c008cb
commit b216317477
130 changed files with 1625 additions and 1397 deletions

View File

@@ -23,7 +23,7 @@ namespace Friendica\Console;
use Asika\SimpleConsole\CommandArgsException;
use Friendica\App;
use Friendica\Core\Lock\ILock;
use Friendica\Core\Lock\Capability\ICanLock;
use RuntimeException;
/**
@@ -42,7 +42,7 @@ class Lock extends \Asika\SimpleConsole\Console
private $appMode;
/**
* @var ILock
* @var \Friendica\Core\Lock\Capability\ICanLock
*/
private $lock;
@@ -76,7 +76,7 @@ HELP;
return $help;
}
public function __construct(App\Mode $appMode, ILock $lock, array $argv = null)
public function __construct(App\Mode $appMode, ICanLock $lock, array $argv = null)
{
parent::__construct($argv);