-
Notifications
You must be signed in to change notification settings - Fork 119
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
Add ->will( $this->returnArgument(
simplification
#1858
Comments
reedy
added a commit
to reedy/phpinspectionsea
that referenced
this issue
Nov 12, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description (screenshot):
The plugin currently simplifies
->will( $this->returnValueMap( [
into->willReturnMap( [
but from what I can tell, it doesn't do->will( $this->returnArgument(
into->willReturnArgument(
Feels like it should be a simple addition into
phpinspectionsea/src/main/java/com/kalessil/phpStorm/phpInspectionsEA/inspectors/phpUnit/strategy/WillReturnStrategy.java
Lines 25 to 30 in ad57a4a
Example
The text was updated successfully, but these errors were encountered: