diff --git a/src/ComposerCollector.php b/src/ComposerCollector.php index d753e7c..78e8850 100644 --- a/src/ComposerCollector.php +++ b/src/ComposerCollector.php @@ -180,12 +180,9 @@ public function getNodeType(): string return FileNode::class; } - /** - * @return RuleError[] - */ - public function processNode(Node $node, Scope $scope): array + public function processNode(Node $node, Scope $scope) { // We're not actually processing nodes, we just are using a Collector have this run once per analyze run - return []; + return null; } }