]> git.mxchange.org Git - friendica.git/blobdiff - src/Console/Lock.php
Merge pull request #10961 from annando/deprecated
[friendica.git] / src / Console / Lock.php
index 7ac1cdd241fe2bdf97b860b21da0b3c2785b6f67..c43213fba8f1bdb6513286b602631c2b2eeb2591 100644 (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 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);