Skip to content

Commit 5c0bbcc

Browse files
committed
PHPStan fixes that only apply to 8.4 for some reason.
1 parent 7457622 commit 5c0bbcc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Analyzer.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public function analyze(string|object $class, string $attribute, array $scopes =
2828
$classDef = $parser->getInheritedAttribute($subject, $attribute) ?? new $attribute;
2929

3030
if ($classDef instanceof FromReflectionClass) {
31+
/** @var \ReflectionClass<object> $subject */
3132
$classDef->fromReflection($subject);
3233
}
3334

0 commit comments

Comments
 (0)