Skip to content

Commit f7cd6ea

Browse files
committed
FunctionCallParametersCheck: Add native parameter type
1 parent c684505 commit f7cd6ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Rules/FunctionCallParametersCheck.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,15 +53,15 @@ public function __construct(
5353
}
5454

5555
/**
56-
* @param Node\Expr\FuncCall|Node\Expr\MethodCall|Node\Expr\StaticCall|Node\Expr\New_ $funcCall
56+
* @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
5757
* @param 'attribute'|'callable'|'method'|'staticMethod'|'function'|'new' $nodeType
5858
* @return list<IdentifierRuleError>
5959
*/
6060
public function check(
6161
ParametersAcceptor $parametersAcceptor,
6262
Scope $scope,
6363
bool $isBuiltin,
64-
$funcCall,
64+
Node\Expr\FuncCall|Node\Expr\MethodCall|Node\Expr\StaticCall|Node\Expr\New_ $funcCall,
6565
string $nodeType,
6666
TrinaryLogic $acceptsNamedArguments,
6767
string $singleInsufficientParameterMessage,

0 commit comments

Comments
 (0)