Skip to content

Commit

Permalink
Fix variable name
Browse files Browse the repository at this point in the history
Align it with the naming convention.
  • Loading branch information
Spirit55555 committed Jun 22, 2020
1 parent 0b333c7 commit c52a356
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/MinecraftColors.php
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,8 @@ static public function convertToHTML($text, $line_break_element = false, $css_cl

if ($css_classes) {
if (!$is_reset) {
$cssClassname = $css_prefix.self::$css_classnames[$color_code];
$html .= sprintf(self::START_TAG_WITH_CLASS, $cssClassname);
$css_classname = $css_prefix.self::$css_classnames[$color_code];
$html .= sprintf(self::START_TAG_WITH_CLASS, $css_classname);
$open_tags++;
}
}
Expand Down

0 comments on commit c52a356

Please sign in to comment.