Skip to content

Commit 280500f

Browse files
authored
Update GlobalDrupalDependencyInjectionRule.php
1 parent 957d6b5 commit 280500f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Rules/Drupal/GlobalDrupalDependencyInjectionRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public function processNode(Node $node, Scope $scope): array
5151
}
5252

5353
$scopeFunction = $scope->getFunction();
54-
if(!($scopeFunction instanceof MethodReflection)) {
54+
if (!($scopeFunction instanceof MethodReflection)) {
5555
throw new ShouldNotHappenException();
5656
}
5757
// Static methods have to invoke \Drupal.

0 commit comments

Comments
 (0)