Skip to content

Commit 30d20e6

Browse files
authored
FunctionCallParametersCheck: Add native parameter type
1 parent c684505 commit 30d20e6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Rules/FunctionCallParametersCheck.php

+1-2
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,14 @@ public function __construct(
5353
}
5454

5555
/**
56-
* @param Node\Expr\FuncCall|Node\Expr\MethodCall|Node\Expr\StaticCall|Node\Expr\New_ $funcCall
5756
* @param 'attribute'|'callable'|'method'|'staticMethod'|'function'|'new' $nodeType
5857
* @return list<IdentifierRuleError>
5958
*/
6059
public function check(
6160
ParametersAcceptor $parametersAcceptor,
6261
Scope $scope,
6362
bool $isBuiltin,
64-
$funcCall,
63+
Node\Expr\FuncCall|Node\Expr\MethodCall|Node\Expr\StaticCall|Node\Expr\New_ $funcCall,
6564
string $nodeType,
6665
TrinaryLogic $acceptsNamedArguments,
6766
string $singleInsufficientParameterMessage,

0 commit comments

Comments
 (0)