Fix type hints to match latest symfony, fixes #7199
Fix type hints to match latest symfony, fixes #7199

nicolas-grekas/composer,stefangr/composer,vdm-io/composer,floverdevel/composer,composer/composer,andrerom/composer,localheinz/composer,pierredup/composer,staabm/composer,stof/composer,alcohol/composer,slbmeh/composer,johnstevenson/composer,milleruk/composer,naderman/composer,fabpot/composer