Skip to content

Commit

Permalink
ClassReflection::getName() returns class-string
Browse files Browse the repository at this point in the history
  • Loading branch information
ondrejmirtes committed Oct 9, 2020
1 parent 2c8390a commit 3d1d930
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Reflection/ClassReflection.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,6 +202,9 @@ public function getParentClass()
return $parentReflection;
}

/**
* @return class-string
*/
public function getName(): string
{
return $this->reflection->getName();
Expand Down

0 comments on commit 3d1d930

Please sign in to comment.