]> git.mxchange.org Git - friendica.git/blobdiff - src/Console/Lock.php
Merge pull request #11524 from annando/cache-endpoints
[friendica.git] / src / Console / Lock.php
index 7ac1cdd241fe2bdf97b860b21da0b3c2785b6f67..eea5d51e10fa252bba1432c004786cd8b89e3018 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2022, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -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);