Skip to content

Commit

Permalink
using methods reall class reflection when analyzing parent class calls
Browse files Browse the repository at this point in the history
  • Loading branch information
romalytvynenko committed May 18, 2024
1 parent d4b4029 commit da35035
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Infer/Reflector/MethodReflector.php
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,6 @@ public function beforeTraverse(array $nodes): ?array

public function getClassReflector(): ClassReflector
{
return ClassReflector::make($this->className);
return ClassReflector::make($this->getReflection()->class);
}
}

0 comments on commit da35035

Please sign in to comment.