]> git.mxchange.org Git - friendica.git/blobdiff - src/Console/Lock.php
Ward against missing keys in Model\APContact::isRelay
[friendica.git] / src / Console / Lock.php
index 3b73837b6e41e7cbd8d1bb87f8c087a499681866..a89f3d861ab050130b3741620d4db6d40f4aeeb3 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
  *
@@ -42,7 +42,7 @@ class Lock extends \Asika\SimpleConsole\Console
        private $appMode;
 
        /**
-        * @var \Friendica\Core\Lock\Capability\ICanLock
+        * @var ICanLock
         */
        private $lock;
 
@@ -84,7 +84,7 @@ HELP;
                $this->lock    = $lock;
        }
 
-       protected function doExecute()
+       protected function doExecute(): int
        {
                if ($this->getOption('v')) {
                        $this->out('Executable: ' . $this->executable);