1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00

Merge pull request #8931 from VincentLanglet/reflectionClass2

Fix getParentClass stub
This commit is contained in:
orklah 2022-12-18 19:42:27 +01:00 committed by GitHub
commit c52970958d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -214,8 +214,12 @@ class ReflectionClass implements Reflector {
*/
public function newInstanceWithoutConstructor(): object {}
/** @psalm-pure */
public function getParentClass(): ?ReflectionClass {}
/**
* @psalm-pure
*
* @return ReflectionClass|false
*/
public function getParentClass() {}
/**
* @param ReflectionClass|class-string $class