Closed lulco closed 1 year ago
Need more info here, cannot reproduce in https://github.com/efabrica-team/phpstan-latte/pull/434
This error occures if $someString
is nullable. With level >= 8 you will get also error Parameter #1 $value of static method Latte\Runtime\Filters::slice() expects array|string, string|null given.
but in lower levels you can be lost :)