ansi-php
ansi-php copied to clipboard
phpdoc-type: `color()`
the color method is typed with a array parameter for color.
https://github.com/bramus/ansi-php/blob/f581b2fd322177e5fabd67af240811838c1c8fbc/src/Traits/EscapeSequences/SGR.php#L47-L55
a lot of examples in the readme indicate that its finde to pass a single color.
static analysis tools like phpstan/psalm error about passing a single color, because of this array type