Remove Iterator/IteratorAggregate type hints
Newer PHPStan versions use the wrong type information if multiple
type hints exists on different classes, leading to the typing
of generated repositories being ignored/overlooked. By removing
the type hints for the base classes, only one type hint exists
and PHPStan applies it correctly.