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 7457622 commit 5c0bbccCopy full SHA for 5c0bbcc
1 file changed
src/Analyzer.php
@@ -28,6 +28,7 @@ public function analyze(string|object $class, string $attribute, array $scopes =
28
$classDef = $parser->getInheritedAttribute($subject, $attribute) ?? new $attribute;
29
30
if ($classDef instanceof FromReflectionClass) {
31
+ /** @var \ReflectionClass<object> $subject */
32
$classDef->fromReflection($subject);
33
}
34
0 commit comments