Skip to content

Commit

Permalink
Merge pull request #8201 from BenMorel/issue8167
Browse files Browse the repository at this point in the history
Fix return type of ReflectionNamedType::getName()
  • Loading branch information
orklah committed Jun 29, 2022
2 parents 4bc803d + df6fdb9 commit 51c6e99
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stubs/Reflection.phpstub
Expand Up @@ -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 {}
}

0 comments on commit 51c6e99

Please sign in to comment.