Add strict types, add debug info

This commit is contained in:
James Cole
2022-07-16 09:25:10 +02:00
parent 5c3b4d1663
commit 9493046212
38 changed files with 222 additions and 86 deletions

View File

@@ -68,14 +68,14 @@ class ExchangeRatesCronjob extends AbstractCronjob
Log::info(sprintf('It has been %s since the exchange rates cron-job has fired. It will fire now!', $diffForHumans));
}
$this->fireAutoBudget();
$this->fireExchangeRateJob();
app('preferences')->mark();
}
/**
*
*/
private function fireAutoBudget(): void
private function fireExchangeRateJob(): void
{
Log::info(sprintf('Will now fire exchange rates cron job task for date "%s".', $this->date->format('Y-m-d')));
/** @var DownloadExchangeRates $job */