We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When calling a method which has a return type :static it adds the static return type to the caller class instead of ClassName.
:static
static
ClassName
See https://getrector.com/demo/0c2808db-5ce8-4d74-b311-1a9f30890312
It should add the return type : ClassName to the caller class. In the demo case it should add : SomeNamedConstructorClass
: ClassName
: SomeNamedConstructorClass
I already added a failing test case here: rectorphp/rector-src#5353
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Bug Report
When calling a method which has a return type
:static
it adds thestatic
return type to the caller class instead ofClassName
.Minimal PHP Code Causing Issue
See https://getrector.com/demo/0c2808db-5ce8-4d74-b311-1a9f30890312
Expected Behaviour
It should add the return type
: ClassName
to the caller class. In the demo case it should add: SomeNamedConstructorClass
I already added a failing test case here: rectorphp/rector-src#5353
The text was updated successfully, but these errors were encountered: