From 3e1a08dc6c9a886558f234d340755c78254845d7 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Mon, 4 Nov 2013 17:37:23 +0100 Subject: [PATCH] Correcting some typos --- core/lib/Thelia/Command/Install.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/core/lib/Thelia/Command/Install.php b/core/lib/Thelia/Command/Install.php index 7b6ca31c5..21ebdcfdc 100755 --- a/core/lib/Thelia/Command/Install.php +++ b/core/lib/Thelia/Command/Install.php @@ -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;