bug #35616 [Workflow] Make method signature compatible with 4.4 (pbowyer)
bug #35616 [Workflow] Make method signature compatible with 4.4 (pbowyer)

This PR was squashed before being merged into the 5.0 branch (closes #35616).

Discussion
----------

[Workflow] Make method signature compatible with 4.4

| Q             | A
| ------------- | ---
| Branch?       | 5.0 <!-- see below -->
| Bug fix?      | yes
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | Fix #35615  <!-- prefix each issue number with "Fix #", if any -->
| License       | MIT
| Doc PR        | symfony/symfony-docs#... <!-- required for new features -->
<!--
Replace this notice by a short README for your feature/bugfix. This will help people
understand your PR and can be used as a start for the documentation.

Additionally (see https://symfony.com/roadmap):
 - Always add tests and ensure they pass.
 - Never break backward compatibility (see https://symfony.com/bc).
 - Bug fixes must be submitted against the lowest maintained branch where they apply
   (lowest branches are regularly merged to upper ones so they get the fixes too.)
 - Features and deprecations must be submitted against branch master.
-->
A method signature changed in a non-backwards-compatible way in 5.0.0 - and in only one class. This commit fixes that - and has been tested.

For full details see ticket #35615.

Commits
-------

474be9613b [Workflow] Make method signature compatible with 4.4

oleg-andreyev/symfony,bendavies/symfony,d-ph/symfony,jderusse/symfony,Deamon/symfony,Nyholm/symfony,Koc/symfony,Deamon/symfony,voronkovich/symfony,Deamon/symfony,Simperfit/symfony,Nyholm/symfony,OskarStark/symfony,gonzalovilaseca/symfony,paradajozsef/symfony,pierredup/symfony,oleg-andreyev/symfony,symfony/symfony,HeahDude/symfony,tgalopin/symfony,alekitto/symfony,xabbuh/symfony,localheinz/symfony,sgehrig/symfony,smatyas/symfony,paradajozsef/symfony,localheinz/symfony,mpdude/symfony,ragboyjr/symfony,mweimerskirch/symfony,OskarStark/symfony,OskarStark/symfony,kbond/symfony,ro0NL/symfony,ragboyjr/symfony,tucksaun/symfony,Nyholm/symfony,MatTheCat/symfony,sgehrig/symfony,Slamdunk/symfony,ogizanagi/symfony,Simperfit/symfony,Slamdunk/symfony,damienalexandre/symfony,mpdude/symfony,pierredup/symfony,MatTheCat/symfony,pierredup/symfony,MatTheCat/symfony,lyrixx/symfony,1ed/symfony,jvasseur/symfony,Simperfit/symfony,fabpot/symfony,xabbuh/symfony,stof/symfony,mweimerskirch/symfony,symfony/symfony,lstrojny/symfony,mnapoli/symfony,smatyas/symfony,jderusse/symfony,gonzalovilaseca/symfony,Simperfit/symfony,garak/symfony,lyrixx/symfony,curry684/symfony,tgalopin/symfony,jakzal/symfony,mnapoli/symfony,mweimerskirch/symfony,pyrech/symfony,Koc/symfony,mnapoli/symfony,mweimerskirch/symfony,lstrojny/symfony,smatyas/symfony,chalasr/symfony,MatTheCat/symfony,derrabus/symfony,jderusse/symfony,alekitto/symfony,stof/symfony,fabpot/symfony,Simperfit/symfony,nicolas-grekas/symfony,localheinz/symfony,damienalexandre/symfony,tgalopin/symfony,derrabus/symfony,mpdude/symfony,curry684/symfony,ogizanagi/symfony,curry684/symfony,derrabus/symfony,mpdude/symfony,hhamon/symfony,jakzal/symfony,xabbuh/symfony,chalasr/symfony,d-ph/symfony,voronkovich/symfony,chalasr/symfony,phramz/symfony,sgehrig/symfony,voronkovich/symfony,nicolas-grekas/symfony,mnapoli/symfony,HeahDude/symfony,voronkovich/symfony,oleg-andreyev/symfony,oleg-andreyev/symfony,jderusse/symfony,localheinz/symfony,hhamon/symfony,ragboyjr/symfony,tucksaun/symfony,ragboyjr/symfony,Nyholm/symfony,fabpot/symfony,Slamdunk/symfony,kbond/symfony,HeahDude/symfony,d-ph/symfony,ro0NL/symfony,kbond/symfony,paradajozsef/symfony,ogizanagi/symfony,gonzalovilaseca/symfony,alekitto/symfony,nicolas-grekas/symfony,curry684/symfony,tucksaun/symfony,smatyas/symfony,derrabus/symfony,Deamon/symfony,xabbuh/symfony,pyrech/symfony,symfony/symfony,jakzal/symfony,lyrixx/symfony,HeahDude/symfony,hhamon/symfony,mweimerskirch/symfony,Koc/symfony,garak/symfony,damienalexandre/symfony,Koc/symfony,Tobion/symfony,ro0NL/symfony,jvasseur/symfony,smatyas/symfony,nicolas-grekas/symfony,Tobion/symfony,1ed/symfony,pyrech/symfony,alekitto/symfony,mnapoli/symfony,sgehrig/symfony,phramz/symfony,pyrech/symfony,phramz/symfony,garak/symfony,ro0NL/symfony,symfony/symfony,stof/symfony,stof/symfony,tucksaun/symfony,lstrojny/symfony,pierredup/symfony,tgalopin/symfony,kbond/symfony,chalasr/symfony,bendavies/symfony,jvasseur/symfony,paradajozsef/symfony,Slamdunk/symfony,Deamon/symfony,1ed/symfony,lyrixx/symfony,ogizanagi/symfony,damienalexandre/symfony,d-ph/symfony,jakzal/symfony,bendavies/symfony,fabpot/symfony,Tobion/symfony,hhamon/symfony,Tobion/symfony,garak/symfony,gonzalovilaseca/symfony,OskarStark/symfony,1ed/symfony,bendavies/symfony,jvasseur/symfony,phramz/symfony