Skip to content

Commit 8f4ca12

Browse files
committed
Revert "Merge pull request #24 from staabm/patch-1"
This reverts commit 9d69b92, reversing changes made to 2884ddf.
1 parent 9d69b92 commit 8f4ca12

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/ComposerCollector.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,12 @@ public function getNodeType(): string
180180
return FileNode::class;
181181
}
182182

183-
public function processNode(Node $node, Scope $scope)
183+
/**
184+
* @return RuleError[]
185+
*/
186+
public function processNode(Node $node, Scope $scope): array
184187
{
185188
// We're not actually processing nodes, we just are using a Collector have this run once per analyze run
186-
return null;
189+
return [];
187190
}
188191
}

0 commit comments

Comments
 (0)