From c52a356de912c00793d76e386dcd0523d9b2c561 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Anders=20G=2E=20J=C3=B8rgensen?= Date: Mon, 22 Jun 2020 21:49:51 +0200 Subject: [PATCH] Fix variable name Align it with the naming convention. --- src/MinecraftColors.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MinecraftColors.php b/src/MinecraftColors.php index d82882a..ce19b2a 100644 --- a/src/MinecraftColors.php +++ b/src/MinecraftColors.php @@ -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++; } }