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

No support for special "iterable" type #2

Closed
bug-tape opened this issue Jun 7, 2019 · 2 comments
Closed

No support for special "iterable" type #2

bug-tape opened this issue Jun 7, 2019 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@bug-tape
Copy link

bug-tape commented Jun 7, 2019

Newest PHPUnit version 8.2.0 gives us a lot of warnings ("Method ... may not return value of type array") when mocking methods which have "iterable" as return type hint and giving arrays as return value.

Perhaps this should be its own Type-Class here?

@bug-tape
Copy link
Author

bug-tape commented Jun 7, 2019

Similar problem with "callable"

@sebastianbergmann sebastianbergmann added the bug Something isn't working label Jun 7, 2019
@sebastianbergmann sebastianbergmann self-assigned this Jun 7, 2019
@sebastianbergmann
Copy link
Owner

Should be fixed by 3f27e78 and 79fd7f2, respectively.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants