X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FConsole%2FLock.php;h=eea5d51e10fa252bba1432c004786cd8b89e3018;hb=697b8a6cb84d042f0f34ec71a6f3e8739a52860c;hp=2ab383c1e3dc1fce6b29e5d9bf23eb26ff7c2718;hpb=0a4119adaf6294bf43d135a0f435c1dd677c50e0;p=friendica.git diff --git a/src/Console/Lock.php b/src/Console/Lock.php index 2ab383c1e3..eea5d51e10 100644 --- a/src/Console/Lock.php +++ b/src/Console/Lock.php @@ -1,10 +1,29 @@ . + * + */ namespace Friendica\Console; use Asika\SimpleConsole\CommandArgsException; use Friendica\App; -use Friendica\Core\Lock\ILock; +use Friendica\Core\Lock\Capability\ICanLock; use RuntimeException; /** @@ -12,8 +31,6 @@ use RuntimeException; * * With this script you can access the locks of your node from the CLI. * You can read current locks and set/remove locks. - * - * @author Philipp Holzer , Hypolite Petovan */ class Lock extends \Asika\SimpleConsole\Console { @@ -25,7 +42,7 @@ class Lock extends \Asika\SimpleConsole\Console private $appMode; /** - * @var ILock + * @var ICanLock */ private $lock; @@ -59,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);