We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 957d6b5 commit 280500fCopy full SHA for 280500f
src/Rules/Drupal/GlobalDrupalDependencyInjectionRule.php
@@ -51,7 +51,7 @@ public function processNode(Node $node, Scope $scope): array
51
}
52
53
$scopeFunction = $scope->getFunction();
54
- if(!($scopeFunction instanceof MethodReflection)) {
+ if (!($scopeFunction instanceof MethodReflection)) {
55
throw new ShouldNotHappenException();
56
57
// Static methods have to invoke \Drupal.
0 commit comments