summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormortee <mortee@kavemalna.hu>2024-02-16 14:16:06 +0100
committerBenjamin Brahmer <info@b-brahmer.de>2024-02-21 09:16:30 +0100
commit70e18cdb2e1f86d713f8c40e83a84c606a22c16f (patch)
tree1b0cdfa9918dc383d5baf36b937b49a34675236a /lib
parent540b7db34e5905fd12114f1dad99d73e58531bad (diff)
make phpcs happy
Diffstat (limited to 'lib')
-rw-r--r--lib/Command/Updater/Job.php6
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;
}
}