X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FConsole%2FFixAPDeliveryWorkerTaskParameters.php;h=d2357c318d0d47c4f15de1aaecee165bbbce2e92;hb=e659a0314086dd700dbe5e754e383ab758725805;hp=8b09a6b1734a4f49b8db1b58d68fbcd1bf71ef7e;hpb=f05fecaec16c42491f6383010960c7cb3fd70dfa;p=friendica.git diff --git a/src/Console/FixAPDeliveryWorkerTaskParameters.php b/src/Console/FixAPDeliveryWorkerTaskParameters.php index 8b09a6b173..d2357c318d 100644 --- a/src/Console/FixAPDeliveryWorkerTaskParameters.php +++ b/src/Console/FixAPDeliveryWorkerTaskParameters.php @@ -1,6 +1,6 @@ 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)); } }