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