original_string: public function createBrowserConfiguration(array $config, BrowserTestCase $test_case)
  	{
  		$aliases = $test_case->getBrowserAliases();
  		$config = BrowserConfiguration::resolveAliases($config, $aliases);
  
  		$type = isset($config['type']) ? $config['type'] : 'default';
  		unset($config['type']);
  
  		return $this->create($type)->setAliases($aliases)->setup($config);
  	}
code: public function createBrowserConfiguration(array $config, BrowserTestCase $test_case)
  	{
  		$aliases = $test_case->getBrowserAliases();
  		$config = BrowserConfiguration::resolveAliases($config, $aliases);
  
  		$type = isset($config['type']) ? $config['type'] : 'default';
  		unset($config['type']);
  
  		return $this->create($type)->setAliases($aliases)->setup($config);
  	}
code_tokens: public function createBrowserConfiguration ( array $ config , BrowserTestCase $ test_case ) { $ aliases = $ test_case -> getBrowserAliases ( ) ; $ config = BrowserConfiguration :: resolveAliases ( $ config , $ aliases ) ; $ type = isset ( $ config [ 'type' ] ) ? $ config [ 'type' ] : 'default' ; unset ( $ config [ 'type' ] ) ; return $ this -> create ( $ type ) -> setAliases ( $ aliases ) -> setup ( $ config ) ; }
docstring: Returns browser configuration instance.
  
  @param array           $config    Browser.
  @param BrowserTestCase $test_case Test case.
  
  @return BrowserConfiguration
docstring_tokens: Returns browser configuration instance .