minor #32794 [Lock] Add return type to the new LockFactory (chalasr)
minor #32794 [Lock] Add return type to the new LockFactory (chalasr)

This PR was merged into the 4.4 branch.

Discussion
----------

[Lock] Add return type to the new LockFactory

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

Let's leverage renaming to add a return type.

Commits
-------

489f36daa2 [Lock] Add return type to the new LockFactory

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