original_string: public static function addLinkStyle($styleName, $styles) {
  		if(!array_key_exists($styleName, self::$_styleElements)) {
  			$style = new PHPWord_Style_Font('link');
  			foreach($styles as $key => $value) {
  				if(substr($key, 0, 1) != '_') {
  					$key = '_'.$key;
  				}
  				$style->setStyleValue($key, $value);
  			}
  			
  			self::$_styleElements[$styleName] = $style;
  		}
  	}
code: public static function addLinkStyle($styleName, $styles) {
  		if(!array_key_exists($styleName, self::$_styleElements)) {
  			$style = new PHPWord_Style_Font('link');
  			foreach($styles as $key => $value) {
  				if(substr($key, 0, 1) != '_') {
  					$key = '_'.$key;
  				}
  				$style->setStyleValue($key, $value);
  			}
  			
  			self::$_styleElements[$styleName] = $style;
  		}
  	}
code_tokens: public static function addLinkStyle ( $ styleName , $ styles ) { if ( ! array_key_exists ( $ styleName , self :: $ _styleElements ) ) { $ style = new PHPWord_Style_Font ( 'link' ) ; foreach ( $ styles as $ key => $ value ) { if ( substr ( $ key , 0 , 1 ) != '_' ) { $ key = '_' . $ key ; } $ style -> setStyleValue ( $ key , $ value ) ; } self :: $ _styleElements [ $ styleName ] = $ style ; } }
docstring: Add a link style
  
  @param string $styleName
  @param array $styles
docstring_tokens: Add a link style