#96725Use generics for ObjectProphecy class properties
Description
With #96713 all type annotations on class properties
in tests have been reduced to ObjectProphecy only,
removing the information which class or interface
is mocked.
The jangregor/phpstan-prophecy plugin defines ObjectProphecy
as a generic tag, allowing generics to be used and
resolved by PHPStan. Therefore the type annotations
on class properties or function results are now re-added.