Skip to content

Commit 1441354

Browse files
committed
Do not complain about accessing RestrictedMethodUsageRule::class
1 parent b2ce75b commit 1441354

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Diff for: src/Rules/RestrictedUsage/RestrictedMethodUsageRule.php

+3
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,9 @@ public function getNodeType(): string
2929
return MethodCall::class;
3030
}
3131

32+
/**
33+
* @api
34+
*/
3235
public function processNode(Node $node, Scope $scope): array
3336
{
3437
if (!$node->name instanceof Identifier) {

0 commit comments

Comments
 (0)