Skip to content

Commit

Permalink
Remove suppressed issuue
Browse files Browse the repository at this point in the history
  • Loading branch information
muglug committed Nov 25, 2020
1 parent 3dc311f commit 39f26d9
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/Psalm/Type/Union.php
Expand Up @@ -897,11 +897,7 @@ public function isEmptyMixed(): bool

public function isVanillaMixed(): bool
{
/**
* @psalm-suppress UndefinedPropertyFetch
*/
return isset($this->types['mixed'])
&& !$this->types['mixed']->from_loop_isset
&& get_class($this->types['mixed']) === Type\Atomic\TMixed::class
&& !$this->types['mixed']->from_loop_isset
&& count($this->types) === 1;
Expand Down

0 comments on commit 39f26d9

Please sign in to comment.