[Pkg-owncloud-commits] [owncloud] 34/153: typos fixed PHPDoc comments added

David Prévot taffit at moszumanska.debian.org
Tue May 27 03:05:31 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit 86ab1cf476ab03d3c3e64ab9603bc1b6a1f27be5
Author: Thomas Müller <thomas.mueller at tmit.eu>
Date:   Tue Apr 1 22:17:31 2014 +0200

    typos fixed
    PHPDoc comments added
---
 core/command/db/converttype.php | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/core/command/db/converttype.php b/core/command/db/converttype.php
index c38270d..d419ca6 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);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list