Skip to content

Commit e8274ff

Browse files
committed
CamelCase
1 parent 3083b38 commit e8274ff

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/classes/jblond/cli/CliColors.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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
/**

0 commit comments

Comments
 (0)