ansi-php
ansi-php copied to clipboard
`->reset()->lf()` and `->lf()->reset()` are not interchangable
it seems there is a difference between these 2 calls:
$ansi->color(SGR::COLOR_FG_RED)->text($text)->reset()->lf();
$ansi->color(SGR::COLOR_FG_RED)->text($text)->lf()->reset();
phpstorm and phpstan tell me that the 2nd example is an error. from a user point of view, I feel these should be the same thing