Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Iterator type support + fixes for functions with yield #62

Merged

Conversation

michalbundyra
Copy link
Member

Generators (functions with yield) can have only:
Generator, Iterator, Traversable or iterable return type hint.

Add support for Iterator type in Functions\Param and Functions\ReturnType sniffs.

Generators (functions with yield) can have only
Generator, Iterator, Traversable or iterable Return type hint.

Add support for Iterator type in `Functions\Param` and
`Functions\ReturnType` sniffs.
@michalbundyra michalbundyra added the enhancement New feature or request label Nov 17, 2019
@michalbundyra michalbundyra added this to the 1.1.0 milestone Nov 17, 2019
michalbundyra added a commit that referenced this pull request Nov 20, 2019
Add Iterator type support + fixes for functions with yield
michalbundyra added a commit that referenced this pull request Nov 20, 2019
michalbundyra added a commit that referenced this pull request Nov 20, 2019
@michalbundyra michalbundyra merged commit 6710b31 into webimpress:develop Nov 20, 2019
@michalbundyra michalbundyra deleted the feature/iterator-generators branch November 20, 2019 22:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant