Update ColorCLI class

This commit is contained in:
DariusIII
2018-02-17 23:46:06 +01:00
parent 73b2bfd4e9
commit b3bab77a8a
2 changed files with 6 additions and 4 deletions
+4 -4
View File
@@ -58,7 +58,7 @@ class ColorCLI
*/
public static function primary($str): string
{
return color($str)->green();
return color($str)->green().PHP_EOL;
}
/**
@@ -67,7 +67,7 @@ class ColorCLI
*/
public static function header($str): string
{
return color($str)->yellow();
return color($str)->yellow().PHP_EOL;
}
/**
@@ -76,7 +76,7 @@ class ColorCLI
*/
public static function alternate($str): string
{
return color($str)->magenta()->dark()->bold();
return color($str)->magenta()->dark()->bold().PHP_EOL;
}
/**
@@ -85,7 +85,7 @@ class ColorCLI
*/
public static function tmuxOrange($str): string
{
return "\033[38;5;".color("$str\033[0m\n")->yellow()->dark();
return color($str)->yellow()->dark().PHP_EOL;
}
/**
+2
View File
@@ -1,3 +1,5 @@
2018-02-17 DariusIII
* Chg: Update ColorCLI class
2018-02-16 DariusIII
* Chg: Update phpunit/phpunit-mock-objects to latest version
2018-02-15 DariusIII