From f85c34a803509c0c51fb2f4f07d3b6b12080c9a4 Mon Sep 17 00:00:00 2001 From: WhizSid Date: Thu, 13 Apr 2023 15:48:27 +0530 Subject: [PATCH] Supress the psalm error --- src/Psalm/Type/UnionTrait.php | 1 + 1 file changed, 1 insertion(+) 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 */