Fix phpstan issues.

This commit is contained in:
James Cole
2023-11-05 16:55:16 +01:00
parent 4edd9fe3da
commit a0564751d6
72 changed files with 110 additions and 138 deletions

View File

@@ -55,11 +55,7 @@ class AutoBudgetCronjob extends AbstractCronjob
return;
}
// fire job regardless.
if (true === $this->force) {
app('log')->info('Execution of the auto budget cron-job has been FORCED.');
}
app('log')->info('Execution of the auto budget cron-job has been FORCED.');
}
if ($lastTime > 0 && $diff > 43200) {

View File

@@ -65,10 +65,7 @@ class BillWarningCronjob extends AbstractCronjob
return;
}
// fire job regardless.
if (true === $this->force) {
app('log')->info('Execution of the bill warning cron-job has been FORCED.');
}
app('log')->info('Execution of the bill warning cron-job has been FORCED.');
}
if ($lastTime > 0 && $diff > 43200) {

View File

@@ -56,10 +56,7 @@ class ExchangeRatesCronjob extends AbstractCronjob
return;
}
// fire job regardless.
if (true === $this->force) {
app('log')->info('Execution of the exchange rates cron-job has been FORCED.');
}
app('log')->info('Execution of the exchange rates cron-job has been FORCED.');
}
if ($lastTime > 0 && $diff > 43200) {

View File

@@ -64,11 +64,7 @@ class RecurringCronjob extends AbstractCronjob
return;
}
// fire job regardless.
if (true === $this->force) {
app('log')->info('Execution of the recurring transaction cron-job has been FORCED.');
}
app('log')->info('Execution of the recurring transaction cron-job has been FORCED.');
}
if ($lastTime > 0 && $diff > 43200) {