1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-22 05:41:20 +01:00

Merge pull request #8201 from BenMorel/issue8167

Fix return type of ReflectionNamedType::getName()
This commit is contained in:
orklah 2022-06-29 18:40:13 +02:00 committed by GitHub
commit 51c6e99377
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -142,7 +142,7 @@ class ReflectionNamedType extends ReflectionType
public function getName(): string {}
/**
* @psalm-assert-if-false class-string $this->getName()
* @psalm-assert-if-false class-string|'self'|'static' $this->getName()
*/
public function isBuiltin(): bool {}
}