X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FConsole%2FFixAPDeliveryWorkerTaskParameters.php;h=d2357c318d0d47c4f15de1aaecee165bbbce2e92;hb=d4a5a8051ad34a7be72238967afb3e6b140afdc8;hp=8b09a6b1734a4f49b8db1b58d68fbcd1bf71ef7e;hpb=27b9da3df51acc9fa7c5f92053af289c8f9fd2a7;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)); } }