]> source.dussan.org Git - nextcloud-server.git/commitdiff
Use proper name and code style 3995/head
authorMorris Jobke <hey@morrisjobke.de>
Wed, 22 Mar 2017 21:59:55 +0000 (15:59 -0600)
committerMorris Jobke <hey@morrisjobke.de>
Wed, 22 Mar 2017 21:59:55 +0000 (15:59 -0600)
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
apps/files/lib/Command/ScanAppData.php

index 93bc4cc5c4431bf70e7d9d412db6b8a22fd10e10..365e2e3cb2ebc1ecc45b3adc38f841fc27018d4b 100644 (file)
@@ -43,7 +43,7 @@ class ScanAppData extends Base {
                parent::configure();
 
                $this
-                       ->setName('files:scanAppData')
+                       ->setName('files:scan-app-data')
                        ->setDescription('rescan the AppData folder')
                        ->addOption(
                                'quiet',
@@ -146,7 +146,7 @@ class ScanAppData extends Base {
                $verbose = $input->getOption('verbose');
                $quiet = $input->getOption('quiet');
                # restrict the verbosity level to VERBOSITY_VERBOSE
-               if ($output->getVerbosity()>OutputInterface::VERBOSITY_VERBOSE) {
+               if ($output->getVerbosity() > OutputInterface::VERBOSITY_VERBOSE) {
                        $output->setVerbosity(OutputInterface::VERBOSITY_VERBOSE);
                }
                if ($quiet) {