Merge pull request #93 from superboum/master

Correcting some typos
This commit is contained in:
Manuel Raynaud
2013-11-04 09:20:06 -08:00

View File

@@ -257,7 +257,7 @@ class Install extends ContainerAwareCommand
function ($answer) {
$answer = trim($answer);
if (is_null($answer)) {
throw new \RuntimeException("You must specify database host");
throw new \RuntimeException("You must specify a database host");
}
return $answer;
@@ -266,12 +266,12 @@ class Install extends ContainerAwareCommand
$connectionInfo["dbName"] = $dialog->askAndValidate(
$output,
$this->decorateInfo("Database Name (if database does not exists, Thelia will try to create it) : "),
$this->decorateInfo("Database name (if database does not exist, Thelia will try to create it) : "),
function ($answer) {
$answer = trim($answer);
if (is_null($answer)) {
throw new \RuntimeException("You must specify database name");
throw new \RuntimeException("You must specify a database name");
}
return $answer;
@@ -280,12 +280,12 @@ class Install extends ContainerAwareCommand
$connectionInfo["username"] = $dialog->askAndValidate(
$output,
$this->decorateInfo("Databse username : "),
$this->decorateInfo("Database username : "),
function ($answer) {
$answer = trim($answer);
if (is_null($answer)) {
throw new \RuntimeException("You must sprcify database username");
throw new \RuntimeException("You must specify a database username");
}
return $answer;