Skip to content

Commit

Permalink
Add periods to bg256 and fg256 descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
kodie committed Nov 26, 2024
1 parent 3099286 commit d9c947c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Output/Color.php
Original file line number Diff line number Diff line change
Expand Up @@ -96,15 +96,15 @@ public function info(string $text, array $style = []): string
}

/**
* Returns the color code for a 256 background color
* Returns the color code for a 256 background color.
*/
public function bg256(int $code)
{
return "48;5;{$code}";
}

/**
* Returns the color code for a 256 foreground color
* Returns the color code for a 256 foreground color.
*/
public function fg256(int $code)
{
Expand Down

0 comments on commit d9c947c

Please sign in to comment.