Skip to content

Commit

Permalink
Merge pull request #9051 from kukulich/patch-4
Browse files Browse the repository at this point in the history
Fix `ReflectionClass::getTraitNames()` stub
  • Loading branch information
orklah committed Jan 3, 2023
2 parents f978594 + 2310c13 commit e527c68
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions stubs/Reflection.phpstub
Original file line number Diff line number Diff line change
Expand Up @@ -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 {}
Expand Down

0 comments on commit e527c68

Please sign in to comment.