-
Notifications
You must be signed in to change notification settings - Fork 462
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
Cannot mock interface with method name: empty #1166
Comments
Hey @henzeb Thanks for the detailed report. It looks like the method Mocker has a syntax for getting around this.
interface test
{
public function empty(): void;
}
\Mockery::mock(test::class . '[empty]'); Hope this resolves your issue ✌🏾 |
I had a similar issue in #1159 I worked it around by adapting the methods via |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Any one who remembers #770, will understand my problem:
gives me:
The text was updated successfully, but these errors were encountered: