protected function askAboutDatabasePass($default) { // allows for empty passwords if ($default === '') { $default = ' '; } $answer = $this->io()->ask("What is your database password?", $default); return trim($answer) === '' ? '' : $answer; }