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

Merge pull request #9051 from kukulich/patch-4

Fix `ReflectionClass::getTraitNames()` stub
This commit is contained in:
orklah 2023-01-03 23:17:48 +01:00 committed by GitHub
commit e527c68706
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -280,8 +280,7 @@ class ReflectionClass implements Reflector {
public function getShortName(): string {}
/**
* @return ?list<trait-string>
* @psalm-ignore-nullable-return
* @return list<trait-string>
* @psalm-pure
*/
public function getTraitNames(): array {}