mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-26 20:53:31 +00:00
rename args_count
This commit is contained in:
parent
ec3b928c7d
commit
e44792bd00
|
@ -98,9 +98,9 @@ PHP
|
|||
return true;
|
||||
}
|
||||
|
||||
$args_count = count($funcCall->args);
|
||||
$argsCount = count($funcCall->args);
|
||||
|
||||
if ($args_count <= 2) {
|
||||
if ($argsCount <= 2) {
|
||||
return true;
|
||||
}
|
||||
|
||||
|
@ -108,7 +108,7 @@ PHP
|
|||
return true;
|
||||
}
|
||||
|
||||
if ($args_count === 3) {
|
||||
if ($argsCount === 3) {
|
||||
return $funcCall->args[2]->value instanceof Variable;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user