Put toArray method back where it belongs.
Package is now on Packagist, VCS definition not needed. Revise doctrine requirement.