Skip to content

Commit 1f89bf1

Browse files
committed
FunctionCallParametersCheck: Add native parameter type
1 parent 5e3a364 commit 1f89bf1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Rules/FunctionCallParametersCheck.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@ public function __construct(
5252
}
5353

5454
/**
55-
* @param Node\Expr\FuncCall|Node\Expr\MethodCall|Node\Expr\StaticCall|Node\Expr\New_ $funcCall
5655
* @param array{0: string, 1: string, 2: string, 3: string, 4: string, 5: string, 6: string, 7: string, 8: string, 9: string, 10: string, 11: string, 12: string, 13?: string, 14?: string} $messages
5756
* @param 'attribute'|'callable'|'method'|'staticMethod'|'function'|'new' $nodeType
5857
* @return list<IdentifierRuleError>
@@ -61,7 +60,7 @@ public function check(
6160
ParametersAcceptor $parametersAcceptor,
6261
Scope $scope,
6362
bool $isBuiltin,
64-
$funcCall,
63+
Expr\CallLike $funcCall,
6564
array $messages,
6665
string $nodeType = 'function',
6766
bool $acceptsNamedArguments = true,

0 commit comments

Comments
 (0)