<?php
/**
- * @copyright Copyright (C) 2010-2022, the Friendica project
+ * @copyright Copyright (C) 2010-2023, the Friendica project
*
* @license GNU AGPL version 3 or any later version
*
$this->l10n = $l10n;
}
- protected function doExecute()
+ protected function doExecute(): int
{
if ($this->getOption('v')) {
$this->out('Class: ' . __CLASS__);
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));
}
}
} 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));
}
}