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

> Typecast (if not null) is done in typehint

Striclty speaking that is not a typecast (it's a "type hint").

I meant `$this->array = (array) $array;` (note that `$array() == null`)