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

Prophecy Argument tokens should be accepted as values #17

Open
Jean85 opened this issue Mar 9, 2016 · 1 comment
Open

Prophecy Argument tokens should be accepted as values #17

Jean85 opened this issue Mar 9, 2016 · 1 comment

Comments

@Jean85
Copy link

Jean85 commented Mar 9, 2016

Code example:

$mock = $this->prophesize(SomeClass::class);
$mock->giveMeAString(Argument::type('string'))->willReturn();

Argument static methods in Prophecy let us define better and precise expectation. Right now, with this plugin, it gives an alert about type mismatching. It should not show that warning.

@maxfilatov
Copy link
Owner

@Jean85 thanks, it will be fixed

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

No branches or pull requests

2 participants