diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2014-04-01 22:17:31 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2014-04-01 22:17:31 +0200 |
commit | 86ab1cf476ab03d3c3e64ab9603bc1b6a1f27be5 (patch) | |
tree | 9d05db8cb6dfe6cf6003b0868817a2ee91d8c273 /core/command | |
parent | 5b64a27df9c3f6c64db307753a70515b7123eb5b (diff) | |
download | nextcloud-server-86ab1cf476ab03d3c3e64ab9603bc1b6a1f27be5.tar.gz nextcloud-server-86ab1cf476ab03d3c3e64ab9603bc1b6a1f27be5.zip |
typos fixed
PHPDoc comments added
Diffstat (limited to 'core/command')
-rw-r--r-- | core/command/db/converttype.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/core/command/db/converttype.php b/core/command/db/converttype.php index c38270d1536..d419ca61a8b 100644 --- a/core/command/db/converttype.php +++ b/core/command/db/converttype.php @@ -43,6 +43,7 @@ class ConvertType extends Command { protected function interact(InputInterface $input, OutputInterface $output) { parent::interact($input, $output); if (!$input->getOption('password')) { + /** @var $dialog \Symfony\Component\Console\Helper\DialogHelper */ $dialog = $this->getHelperSet()->get('dialog'); $password = $dialog->askHiddenResponse( $output, @@ -56,7 +57,7 @@ class ConvertType extends Command { protected function configure() { $this ->setName('db:convert-type') - ->setDescription('Convert the owncloud database to the newly configured one') + ->setDescription('Convert the ownCloud database to the newly configured one') ->addArgument( 'type', InputArgument::REQUIRED, @@ -130,10 +131,11 @@ class ConvertType extends Command { $tables = array_diff($fromTables, $toTables); if (!empty($tables)) { $output->writeln('<error>The following tables do NOT exist any more: '.join(', ', $tables).'</error>'); + /** @var $dialog \Symfony\Component\Console\Helper\DialogHelper */ $dialog = $this->getHelperSet()->get('dialog'); if (!$dialog->askConfirmation( $output, - '<question>Continue with the convertion?</question>', + '<question>Continue with the conversion?</question>', false )) { return; @@ -164,6 +166,7 @@ class ConvertType extends Command { } private function copyTable(Connection $fromDB, Connection $toDB, $table, OutputInterface $output) { + /** @var $progress \Symfony\Component\Console\Helper\ProgressHelper */ $progress = $this->getHelperSet()->get('progress'); $query = 'SELECT COUNT(*) FROM '.$table; $count = $fromDB->fetchColumn($query); |