diff --git a/src/Psalm/Type/UnionTrait.php b/src/Psalm/Type/UnionTrait.php index bd7a1bdb5..9c053bd15 100644 --- a/src/Psalm/Type/UnionTrait.php +++ b/src/Psalm/Type/UnionTrait.php @@ -1265,6 +1265,7 @@ trait UnionTrait $calling_method_id, ); + /** @psalm-suppress ImpureMethodCall */ $checker->traverseArray($this->types); /** @psalm-suppress InaccessibleProperty, ImpurePropertyAssignment Does not affect anything else */