From 5b94705cf3918dc7986c6043b1fbe776bf22958f Mon Sep 17 00:00:00 2001 From: Sean Molenaar Date: Tue, 27 Mar 2018 15:35:06 +0200 Subject: Core: Fix compatibility with nextcloud codestyle (#280) --- lib/Cron/Updater.php | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'lib/Cron/Updater.php') diff --git a/lib/Cron/Updater.php b/lib/Cron/Updater.php index b26b11b45..5247ea6f5 100644 --- a/lib/Cron/Updater.php +++ b/lib/Cron/Updater.php @@ -6,7 +6,7 @@ * later. See the COPYING file. * * @author Bernhard Posselt - * @copyright Bernhard Posselt 2012, 2014 + * @copyright 2012-2014 Bernhard Posselt */ namespace OCA\News\Cron; @@ -17,7 +17,8 @@ use OCA\News\Config\Config; use OCA\News\Service\StatusService; use OCA\News\Utility\Updater as UpdaterService; -class Updater extends Job { +class Updater extends Job +{ /** * @var Config @@ -33,15 +34,18 @@ class Updater extends Job { private $updaterService; public function __construct(Config $config, StatusService $status, - UpdaterService $updaterService) { + UpdaterService $updaterService + ) { $this->config = $config; $this->status = $status; $this->updaterService = $updaterService; } - protected function run($argument) { - if ($this->config->getUseCronUpdates() && - $this->status->isProperlyConfigured()) { + protected function run($argument) + { + if ($this->config->getUseCronUpdates() + && $this->status->isProperlyConfigured() + ) { $this->updaterService->beforeUpdate(); $this->updaterService->update(); $this->updaterService->afterUpdate(); -- cgit v1.2.3