symfony/symfony — comment on commit d02f17268ecd2aed4730d4eb557733d5e038ed2e
File: tests/Symfony/Tests/Component/Form/Extension/Core/EventListener/MergeCollectionListenerCustomArrayObjectTest.php line 24
By vicb:

I have not checked the usages but if `null` is never used then the best solution is to remove the default value together with the cast (or test)