phpstan-doctrine
phpstan-doctrine copied to clipboard
Invalid nullable property check for simple_array mapping type
This PR demonstrates the bug described in #670
I agree, the type can't return null: https://github.com/doctrine/dbal/blob/d5a5a2165676e15a1805dc1b43d57c0bec7493bc/src/Types/SimpleArrayType.php#L43-L45