We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e45892f commit 2e9d028Copy full SHA for 2e9d028
src/Output/Color.php
@@ -120,15 +120,15 @@ public function info(string $text, array $style = []): string
120
/**
121
* Returns the color code for a 256 background color.
122
*/
123
- public function bg256(int $code)
+ public function bg256(int $code): string
124
{
125
return "48;5;{$code}";
126
}
127
128
129
* Returns the color code for a 256 foreground color.
130
131
- public function fg256(int $code)
+ public function fg256(int $code): string
132
133
return "38;5;{$code}";
134
0 commit comments