Update CollectionTypeExtension.php

Replace the deprecated constant FormEvents::BIND by FormEvents::SUBMIT, renamed the callback function to onSubmit