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

remove signature return types in stubs #5014

Merged
merged 2 commits into from Jan 14, 2021
Merged

Conversation

orklah
Copy link
Collaborator

@orklah orklah commented Jan 14, 2021

This PR will fix #5006

Return types in signatures in stubs are causing an issue because Psalm will check that the return type is present on every child method.

This should not be an issue for params as params can be wider in childs.

@muglug muglug merged commit 26f756d into vimeo:master Jan 14, 2021
@muglug
Copy link
Collaborator

muglug commented Jan 14, 2021

Thanks!

danog pushed a commit to danog/psalm that referenced this pull request Jan 29, 2021
* remove return types from signatures for some stubs

* fix duplicate type
@orklah orklah deleted the iterators branch September 14, 2021 17:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

RecursiveArrayIterator MethodSignatureMismatch
2 participants