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
See https://getrector.com/demo/6988e4b4-0d06-4300-9056-3a3a7ea8c10d
<?php namespace App; use PhpParser\Node\Name; use PhpParser\Node\Stmt\Use_; final class DemoFile { /** * @param Use_[]|\PhpParser\Node\Stmt\GroupUse[] $uses */ public function run(Name $name, array $uses) { return strtolower($name->getLast()); } }
NullToStrictStringFuncCallArgRector
AddParamTypeSplFixedArrayRector
Only docblock should be changed, cast string on $name->getLast() is not needed.
$name->getLast()
The text was updated successfully, but these errors were encountered:
Resolved by PR:
Ref https://getrector.com/demo/ead4b18f-d042-456d-bcdb-3caef53cc16f
Sorry, something went wrong.
No branches or pull requests
Bug Report
Minimal PHP Code Causing Issue
See https://getrector.com/demo/6988e4b4-0d06-4300-9056-3a3a7ea8c10d
Responsible rules
NullToStrictStringFuncCallArgRector
AddParamTypeSplFixedArrayRector
Expected Behavior
Only docblock should be changed, cast string on
$name->getLast()
is not needed.The text was updated successfully, but these errors were encountered: