File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -52,18 +52,18 @@ class CliColors {
5252 * @return string
5353 */
5454 public function getColoredString ($ string , $ foregroundColor = null , $ backgroundColor = null ){
55- $ colored_string = '' ;
55+ $ coloredString = '' ;
5656
5757 if (isset ($ this ->foregroundColors ["$ foregroundColor " ])){
58- $ colored_string .= "\033[ " . $ this ->foregroundColors [$ foregroundColor ] . "m " ;
58+ $ coloredString .= "\033[ " . $ this ->foregroundColors [$ foregroundColor ] . "m " ;
5959 }
6060
6161 if (isset ($ this ->backgroundColors ["$ backgroundColor " ])){
62- $ colored_string .= "\033[ " . $ this ->backgroundColors [$ backgroundColor ] . "m " ;
62+ $ coloredString .= "\033[ " . $ this ->backgroundColors [$ backgroundColor ] . "m " ;
6363 }
6464
65- $ colored_string .= $ string . "\033[0m " ;
66- return $ colored_string ;
65+ $ coloredString .= $ string . "\033[0m " ;
66+ return $ coloredString ;
6767 }
6868
6969 /**
You can’t perform that action at this time.
0 commit comments