diff --git a/src/Rules/NarrowPrivateClassMethodParamTypeRule.php b/src/Rules/NarrowPrivateClassMethodParamTypeRule.php index 2fa97c58..1f9d2c94 100644 --- a/src/Rules/NarrowPrivateClassMethodParamTypeRule.php +++ b/src/Rules/NarrowPrivateClassMethodParamTypeRule.php @@ -56,7 +56,7 @@ public function getNodeType(): string /** * @param MethodCall $node - * @return string[] + * @return RuleError[] */ public function processNode(Node $node, Scope $scope): array {