mirror of
https://github.com/danog/psalm.git
synced 2025-01-22 13:51:54 +01:00
Merge pull request #8201 from BenMorel/issue8167
Fix return type of ReflectionNamedType::getName()
This commit is contained in:
commit
51c6e99377
@ -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 {}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user