Adjust type hints for generated repositories
Both PHPStan and Psalm were confused by the @implements
type hints in generated repositories because Iterator/IteratorAggregate were not directly implemented (only through the base class), so we added those explicitely through "implements". This changes nothing about the functionality though.