diff options
author | Benjamin Brahmer <info@b-brahmer.de> | 2023-03-02 16:44:46 +0100 |
---|---|---|
committer | Benjamin Brahmer <info@b-brahmer.de> | 2023-03-02 17:51:53 +0100 |
commit | 7cdf3c83e81d694cf9dbe3842f2f068cdd7acfce (patch) | |
tree | 111e8bca2ed60f09063bf998f1e3208eaa7b7903 /lib/Migration/RemoveUnusedJob.php | |
parent | 8cdcde2e56a9eb6b23abb5577f2cb8f059cf26b9 (diff) |
fix style
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Diffstat (limited to 'lib/Migration/RemoveUnusedJob.php')
-rw-r--r-- | lib/Migration/RemoveUnusedJob.php | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/Migration/RemoveUnusedJob.php b/lib/Migration/RemoveUnusedJob.php index b0202f5a4..cb5c5fecc 100644 --- a/lib/Migration/RemoveUnusedJob.php +++ b/lib/Migration/RemoveUnusedJob.php @@ -10,12 +10,12 @@ class RemoveUnusedJob implements IRepairStep { /** - * @var LoggerInterface + * @var LoggerInterface */ protected $logger; /** - * @var IJobList + * @var IJobList */ protected $joblist; @@ -39,13 +39,12 @@ class RemoveUnusedJob implements IRepairStep */ public function run(IOutput $output) { - if($this->joblist->has("OCA\News\Cron\Updater", null)){ + if ($this->joblist->has("OCA\News\Cron\Updater", null)) { $output->info("Job exists, attempting to remove"); $this->joblist->remove("OCA\News\Cron\Updater"); $output->info("Job removed"); } else { $output->info("Job does not exist, all good"); } - } -}
\ No newline at end of file +} |