summaryrefslogtreecommitdiffstats
path: root/lib/Command/Updater/UpdateFeed.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Command/Updater/UpdateFeed.php')
-rw-r--r--lib/Command/Updater/UpdateFeed.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/lib/Command/Updater/UpdateFeed.php b/lib/Command/Updater/UpdateFeed.php
index b07cc3e4a..f5cda22ad 100644
--- a/lib/Command/Updater/UpdateFeed.php
+++ b/lib/Command/Updater/UpdateFeed.php
@@ -20,18 +20,17 @@ use Symfony\Component\Console\Output\OutputInterface;
use OCA\News\Service\FeedService;
-
class UpdateFeed extends Command
{
private $feedService;
- public function __construct(FeedService $feedService)
+ public function __construct(FeedService $feedService)
{
parent::__construct();
$this->feedService = $feedService;
}
- protected function configure()
+ protected function configure()
{
$this->setName('news:updater:update-feed')
->addArgument(
@@ -47,7 +46,7 @@ class UpdateFeed extends Command
->setDescription('Console API for updating a single user\'s feed');
}
- protected function execute(InputInterface $input, OutputInterface $output)
+ protected function execute(InputInterface $input, OutputInterface $output)
{
$feedId = $input->getArgument('feed-id');
$userId = $input->getArgument('user-id');
@@ -61,5 +60,4 @@ class UpdateFeed extends Command
);
}
}
-
}