Skip to content

Commit 84a2113

Browse files
Eugene Britmglaman
authored andcommitted
issue #142: resolve incorrect $reflection definition
1 parent ae05877 commit 84a2113

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Rules/Classes/PluginManagerInspectionRule.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ private function inspectYamlPluginManager(Node\Stmt\Class_ $class): array
9999
$errors = [];
100100

101101
$fqn = $class->namespacedName;
102-
$reflection = new \ReflectionClass($fqn);
102+
$reflection = new \ReflectionClass($fqn->toString());
103103
$constructor = $reflection->getConstructor();
104104

105105
if ($constructor === null) {

0 commit comments

Comments
 (0)