This commit is contained in:
Dmitry Khomutov 2016-05-09 13:52:46 +06:00
commit 8436df1c0f
2 changed files with 5 additions and 5 deletions

View file

@ -220,7 +220,7 @@ class InstallCommand extends Command
*/
$dialog = $this->getHelperSet()->get('dialog');
// FUnction do validate URL.
// Function do validate URL.
$urlValidator = function ($answer) {
if (!filter_var($answer, FILTER_VALIDATE_URL)) {
throw new Exception(Lang::get('must_be_valid_url'));