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

fix shouldHaveReceived $args param typehint #1104

Merged
merged 1 commit into from
Jan 26, 2021

Conversation

e-zannelli
Copy link
Contributor

Current type hint suggests that $args can only be null, and static analysis tools complain when you call the method with something else.

Add types that you can pass to withArgs.

Thanks

@GrahamCampbell
Copy link
Contributor

This should probably be fixed on the 1.3.x branch.

@e-zannelli e-zannelli changed the base branch from master to 1.3 January 25, 2021 08:31
@e-zannelli
Copy link
Contributor Author

rebased

@davedevelopment davedevelopment merged commit dd9d724 into mockery:1.3 Jan 26, 2021
@davedevelopment
Copy link
Collaborator

Thank you

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.

None yet

3 participants