1
0
mirror of https://github.com/danog/psalm.git synced 2025-01-21 21:31:13 +01:00

Remove suppressed issuue

This commit is contained in:
Matt Brown 2020-11-25 09:22:34 -05:00
parent 3dc311fd45
commit 39f26d9047

View File

@ -897,11 +897,7 @@ class Union implements TypeNode
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;