minor #24384 [Form] Fix FormInterface::submit() annotation (enumag)
minor #24384 [Form] Fix FormInterface::submit() annotation (enumag)

This PR was merged into the 2.7 branch.

Discussion
----------

[Form] Fix FormInterface::submit() annotation

| Q             | A
| ------------- | ---
| Branch?       | 2.7
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

`null|string|array` does not cover all possible values. For example for UploadType it is an instance of UploadedFile.

Commits
-------

c6c09e4f28 [Form] Fix FormInterface::submit() annotation

iltar/symfony,OndraM/symfony,inso/symfony,lyrixx/symfony,d-ph/symfony,josephdpurcell/symfony,weaverryan/symfony,symfony/symfony,chalasr/symfony,1ed/symfony,maidmaid/symfony,tucksaun/symfony,mpdude/symfony,stof/symfony,Taluu/symfony,shieldo/symfony,yceruto/symfony,jderusse/symfony,codeclimate-testing/symfony,MatTheCat/symfony,nasimnabavi/symfony,Simperfit/symfony,garak/symfony,MatTheCat/symfony,Tobion/symfony,smatyas/symfony,nasimnabavi/symfony,aeoris/symfony,paradajozsef/symfony,lstrojny/symfony,jvasseur/symfony,xabbuh/symfony,voronkovich/symfony,andreia/symfony,Nyholm/symfony,Pierstoval/symfony,1ed/symfony,lyrixx/symfony,mihai-stancu/symfony,SaschaDens/symfony,fabpot/symfony,tgalopin/symfony,garak/symfony,teohhanhui/symfony,docteurklein/symfony,SpacePossum/symfony,xabbuh/symfony,alekitto/symfony,fabpot/symfony,mvhirsch/symfony,pamil/symfony,ogizanagi/symfony,SaschaDens/symfony,jvasseur/symfony,localheinz/symfony,apetitpa/symfony,inso/symfony,jvasseur/symfony,curry684/symfony,pierredup/symfony,jean-gui/symfony,ragboyjr/symfony,jzawadzki/symfony,pamil/symfony,Strate/symfony,gimler/symfony,sgehrig/symfony,andrerom/symfony,apetitpa/symfony,sgehrig/symfony,dunglas/symfony,mvhirsch/symfony,mvhirsch/symfony,gnat42/symfony,Amo/symfony,bendavies/symfony,Soullivaneuh/symfony,weaverryan/symfony,josephdpurcell/symfony,Slamdunk/symfony,Nyholm/symfony,iltar/symfony,Strate/symfony,zorn-v/symfony,mweimerskirch/symfony,derrabus/symfony,inso/symfony,HeahDude/symfony,ajgarlag/symfony,voronkovich/symfony,tgalopin/symfony,jzawadzki/symfony,mvhirsch/symfony,ajgarlag/symfony,gencer/symfony,zerkms/symfony,docteurklein/symfony,mnapoli/symfony,chalasr/symfony,curry684/symfony,inso/symfony,hacfi/symfony,Aliance/symfony,codeclimate-testing/symfony,dmaicher/symfony,zcodes/symfony,sroze/symfony,joelwurtz/symfony,ro0NL/symfony,WhiteEagle88/symfony,Simperfit/symfony,alekitto/symfony,dmaicher/symfony,mpdude/symfony,xabbuh/symfony,andreia/symfony,hhamon/symfony,stof/symfony,nasimnabavi/symfony,shieldo/symfony,chalasr/symfony,voronkovich/symfony,Tobion/symfony,yceruto/symfony,weaverryan/symfony,curry684/symfony,OndraM/symfony,andreia/symfony,c960657/symfony,bendavies/symfony,oleg-andreyev/symfony,gonzalovilaseca/symfony,mihai-stancu/symfony,tgalopin/symfony,d-ph/symfony,michaelperrin/symfony,pyrech/symfony,Aliance/symfony,sgehrig/symfony,ajgarlag/symfony,Einenlum/symfony,lstrojny/symfony,frankdejonge/symfony,MatTheCat/symfony,romaricdrigon/symfony,Slamdunk/symfony,Slamdunk/symfony,Aliance/symfony,sgehrig/symfony,iltar/symfony,joelwurtz/symfony,gnat42/symfony,OndraM/symfony,pierredup/symfony,Pierstoval/symfony,oleg-andreyev/symfony,symfony/symfony,zcodes/symfony,jakzal/symfony,zcodes/symfony,arjenm/symfony,zorn-v/symfony,damienalexandre/symfony,dmaicher/symfony,ragboyjr/symfony,bendavies/symfony,paradajozsef/symfony,nicolas-grekas/symfony,codeclimate-testing/symfony,mpdude/symfony,Nyholm/symfony,gimler/symfony,symfony/symfony,derrabus/symfony,OskarStark/symfony,gencer/symfony,ragboyjr/symfony,c960657/symfony,fabpot/symfony,zerkms/symfony,kbond/symfony,SpacePossum/symfony,voronkovich/symfony,damienalexandre/symfony,jean-gui/symfony,Nyholm/symfony,gnat42/symfony,Taluu/symfony,zorn-v/symfony,mnapoli/symfony,michaelperrin/symfony,smatyas/symfony,romaricdrigon/symfony,sroze/symfony,SaschaDens/symfony,arjenm/symfony,inso/symfony,yceruto/symfony,kbond/symfony,HeahDude/symfony,OndraM/symfony,Amo/symfony,Pierstoval/symfony,zcodes/symfony,nicolas-grekas/symfony,hacfi/symfony,garak/symfony,Amo/symfony,arjenm/symfony,ro0NL/symfony,Koc/symfony,MatTheCat/symfony,smatyas/symfony,damienalexandre/symfony,teohhanhui/symfony,d-ph/symfony,pamil/symfony,Einenlum/symfony,Einenlum/symfony,tucksaun/symfony,mweimerskirch/symfony,c960657/symfony,ogizanagi/symfony,Amo/symfony,oleg-andreyev/symfony,localheinz/symfony,Soullivaneuh/symfony,mihai-stancu/symfony,pyrech/symfony,zorn-v/symfony,pamil/symfony,hacfi/symfony,gencer/symfony,OndraM/symfony,Koc/symfony,michaelperrin/symfony,deguif/symfony,mihai-stancu/symfony,ajgarlag/symfony,e-moe/symfony,d-ph/symfony,jean-gui/symfony,bendavies/symfony,nicolas-grekas/symfony,alekitto/symfony,dunglas/symfony,vincentaubert/symfony,pierredup/symfony,gonzalovilaseca/symfony,stof/symfony,tucksaun/symfony,symfony/symfony,dmaicher/symfony,gnat42/symfony,Koc/symfony,andreia/symfony,frankdejonge/symfony,frankdejonge/symfony,oleg-andreyev/symfony,xabbuh/symfony,mnapoli/symfony,maidmaid/symfony,garak/symfony,deguif/symfony,localheinz/symfony,stof/symfony,iltar/symfony,pyrech/symfony,SaschaDens/symfony,Simperfit/symfony,kbond/symfony,vincentaubert/symfony,zerkms/symfony,1ed/symfony,smatyas/symfony,kbond/symfony,tucksaun/symfony,nasimnabavi/symfony,ro0NL/symfony,jean-gui/symfony,OskarStark/symfony,derrabus/symfony,SpacePossum/symfony,jderusse/symfony,mvhirsch/symfony,yceruto/symfony,Deamon/symfony,Soullivaneuh/symfony,shieldo/symfony,Taluu/symfony,alekitto/symfony,1ed/symfony,aeoris/symfony,Slamdunk/symfony,Taluu/symfony,arjenm/symfony,deguif/symfony,derrabus/symfony,jakzal/symfony,Soullivaneuh/symfony,jderusse/symfony,ragboyjr/symfony,phramz/symfony,dunglas/symfony,lyrixx/symfony,maidmaid/symfony,codeclimate-testing/symfony,e-moe/symfony,andrerom/symfony,gimler/symfony,WhiteEagle88/symfony,pyrech/symfony,phramz/symfony,Deamon/symfony,ogizanagi/symfony,smatyas/symfony,SaschaDens/symfony,aeoris/symfony,Simperfit/symfony,vincentaubert/symfony,docteurklein/symfony,andrerom/symfony,paradajozsef/symfony,OskarStark/symfony,maidmaid/symfony,mweimerskirch/symfony,mpdude/symfony,vincentaubert/symfony,pierredup/symfony,sroze/symfony,Simperfit/symfony,damienalexandre/symfony,josephdpurcell/symfony,shieldo/symfony,HeahDude/symfony,chalasr/symfony,Strate/symfony,mnapoli/symfony,gonzalovilaseca/symfony,mweimerskirch/symfony,frankdejonge/symfony,hhamon/symfony,localheinz/symfony,mweimerskirch/symfony,jzawadzki/symfony,joelwurtz/symfony,romaricdrigon/symfony,lstrojny/symfony,paradajozsef/symfony,apetitpa/symfony,Einenlum/symfony,tgalopin/symfony,Deamon/symfony,jakzal/symfony,e-moe/symfony,sroze/symfony,mnapoli/symfony,lyrixx/symfony,hhamon/symfony,ro0NL/symfony,e-moe/symfony,hhamon/symfony,docteurklein/symfony,romaricdrigon/symfony,SpacePossum/symfony,gimler/symfony,apetitpa/symfony,fabpot/symfony,Amo/symfony,Deamon/symfony,phramz/symfony,jvasseur/symfony,joelwurtz/symfony,teohhanhui/symfony,gonzalovilaseca/symfony,jakzal/symfony,michaelperrin/symfony,weaverryan/symfony,zerkms/symfony,nicolas-grekas/symfony,Tobion/symfony,c960657/symfony,Pierstoval/symfony,phramz/symfony,jderusse/symfony,Soullivaneuh/symfony,teohhanhui/symfony,Deamon/symfony,docteurklein/symfony,ogizanagi/symfony,andrerom/symfony,WhiteEagle88/symfony,OskarStark/symfony,deguif/symfony,HeahDude/symfony,Tobion/symfony,SpacePossum/symfony,curry684/symfony,Koc/symfony,mihai-stancu/symfony