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

Comments

@bug-tape
Copy link

@bug-tape 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 bug-tape commented Jun 7, 2019

Similar problem with "callable"

Loading

@sebastianbergmann
Copy link
Owner

@sebastianbergmann sebastianbergmann commented Jun 7, 2019

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

Loading

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants