original_string: protected function validateInputDbInstall()
      {
          $this->validatePrompt('database.name', $this->text('Database name'), 'install');
          $this->validatePrompt('database.user', $this->text('Database user'), 'install', 'root');
          $this->validatePrompt('database.password', $this->text('Database password'), 'install', '');
          $this->validatePrompt('database.port', $this->text('Database port'), 'install', '3306');
          $this->validatePrompt('database.host', $this->text('Database port'), 'install', 'localhost');
  
          $this->validateInputDbTypeInstall();
      }
code: protected function validateInputDbInstall()
      {
          $this->validatePrompt('database.name', $this->text('Database name'), 'install');
          $this->validatePrompt('database.user', $this->text('Database user'), 'install', 'root');
          $this->validatePrompt('database.password', $this->text('Database password'), 'install', '');
          $this->validatePrompt('database.port', $this->text('Database port'), 'install', '3306');
          $this->validatePrompt('database.host', $this->text('Database port'), 'install', 'localhost');
  
          $this->validateInputDbTypeInstall();
      }
code_tokens: protected function validateInputDbInstall ( ) { $ this -> validatePrompt ( 'database.name' , $ this -> text ( 'Database name' ) , 'install' ) ; $ this -> validatePrompt ( 'database.user' , $ this -> text ( 'Database user' ) , 'install' , 'root' ) ; $ this -> validatePrompt ( 'database.password' , $ this -> text ( 'Database password' ) , 'install' , '' ) ; $ this -> validatePrompt ( 'database.port' , $ this -> text ( 'Database port' ) , 'install' , '3306' ) ; $ this -> validatePrompt ( 'database.host' , $ this -> text ( 'Database port' ) , 'install' , 'localhost' ) ; $ this -> validateInputDbTypeInstall ( ) ; }
docstring: Validate database details input
docstring_tokens: Validate database details input