Once generic types are added upstream in Symfony itself, the stubs should not be loaded again to override them, so that the official type definitions are used.
phpstan-doctrine already has a similar logic to prefer using the official generic types instead of stubbing them.
Once generic types are added upstream in Symfony itself, the stubs should not be loaded again to override them, so that the official type definitions are used.
phpstan-doctrine already has a similar logic to prefer using the official generic types instead of stubbing them.