Skip to content

Commit

Permalink
Fix getParentClass stub
Browse files Browse the repository at this point in the history
  • Loading branch information
VincentLanglet committed Dec 18, 2022
1 parent b6faa3e commit 235abe1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions stubs/Reflection.phpstub
Expand Up @@ -214,8 +214,10 @@ class ReflectionClass implements Reflector {
*/
public function newInstanceWithoutConstructor(): object {}

/** @psalm-pure */
public function getParentClass(): ?ReflectionClass {}
/**
* @psalm-pure
*/
public function getParentClass(): ReflectionClass|false {}

/**
* @param ReflectionClass|class-string $class
Expand Down

0 comments on commit 235abe1

Please sign in to comment.