Generator::unique() is documented as returning a Generator where it is actually returning a UniqueGenerator as annotated on the class property. This PR corrects this minor incorrection. Going through the issues and PR I didn't find anything related to this correct other that the initial commit that introduced the function.
What is the reason for this PR?
Generator::unique()
is documented as returning aGenerator
where it is actually returning aUniqueGenerator
as annotated on the class property. This PR corrects this minor incorrection. Going through the issues and PR I didn't find anything related to this correct other that the initial commit that introduced the function.Author's checklist
Summary of changes
This PR corrects the return type in the PHPDOC block of the
Generator::unique()
functionReview checklist
CHANGELOG.md