]> git.mxchange.org Git - friendica.git/blobdiff - src/Console/FixAPDeliveryWorkerTaskParameters.php
spelling: unable
[friendica.git] / src / Console / FixAPDeliveryWorkerTaskParameters.php
index 8b09a6b1734a4f49b8db1b58d68fbcd1bf71ef7e..d2357c318d0d47c4f15de1aaecee165bbbce2e92 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /**
- * @copyright Copyright (C) 2010-2021, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
  *
  * @license GNU AGPL version 3 or any later version
  *
@@ -85,7 +85,7 @@ HELP;
                $this->l10n = $l10n;
        }
 
-       protected function doExecute()
+       protected function doExecute(): int
        {
                if ($this->getOption('v')) {
                        $this->out('Class: ' . __CLASS__);
@@ -129,7 +129,7 @@ HELP;
                if (!$parameters) {
                        $this->errored++;
                        if ($this->getOption('v')) {
-                               $this->out('Unabled to parse parameter JSON of the row with id ' . $workerqueueItem['id']);
+                               $this->out('Unable to parse parameter JSON of the row with id ' . $workerqueueItem['id']);
                                $this->out('JSON: ' . var_export($workerqueueItem['parameter'], true));
                        }
                }
@@ -155,7 +155,7 @@ HELP;
                } else {
                        $this->errored++;
                        if ($this->getOption('v')) {
-                               $this->out('Unabled to update the row with id ' . $workerqueueItem['id']);
+                               $this->out('Unable to update the row with id ' . $workerqueueItem['id']);
                                $this->out('Fields: ' . var_export($fields, true));
                        }
                }