diff options
author | mortee <mortee@kavemalna.hu> | 2024-02-16 14:16:06 +0100 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2024-02-21 09:16:30 +0100 |
commit | 70e18cdb2e1f86d713f8c40e83a84c606a22c16f (patch) | |
tree | 1b0cdfa9918dc383d5baf36b937b49a34675236a | |
parent | 540b7db34e5905fd12114f1dad99d73e58531bad (diff) |
make phpcs happy
-rw-r--r-- | lib/Command/Updater/Job.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/Command/Updater/Job.php b/lib/Command/Updater/Job.php index 4794de034..b8124d82f 100644 --- a/lib/Command/Updater/Job.php +++ b/lib/Command/Updater/Job.php @@ -92,7 +92,7 @@ class Job extends Command $this->updaterService->reset(); $output->writeln("Done, job should execute on next schedule."); return 0; - } + } if ($checkElapsed) { $updateInterval = $this->config->getAppValue( @@ -103,7 +103,9 @@ class Job extends Command $threshold = ($updateInterval * 2) + 900; $elapsedSeconds = $now->getTimestamp() - $date->getTimestamp(); if ($elapsedSeconds > $threshold) { - $output->writeln("Something is wrong with the news cronjob, execution delay exceeded the configured interval."); + $output->writeln( + "Something is wrong with the news cronjob, execution delay exceeded the configured interval." + ); return 2; } } |