If I use TypeToArrayConverter instead of TypeToStringConverter I get a PHPStan error.
Steps to reproduce
$printer = new ErrorVisualPrinter(new TypeToArrayConverter());
Actual Behavior
Parameter #1 $converter of class Orisai\ObjectMapper\Printers\ErrorVisualPrinter constructor expects Orisai\ObjectMapper\Printers\TypeToPrimitiveConverter<array>,
Orisai\ObjectMapper\Printers\TypeToArrayConverter given.
💡 Template type T on class Orisai\ObjectMapper\Printers\TypeToPrimitiveConverter is not covariant.
Library version
v1.x-dev
Description
If I use TypeToArrayConverter instead of TypeToStringConverter I get a PHPStan error.
Steps to reproduce
Actual Behavior
Expected Behavior
No error
Addition information
No response