From b92296e02a3bcf2badcb861f8d5145b0490fc3cc Mon Sep 17 00:00:00 2001 From: Pol Dellaiera Date: Wed, 20 Oct 2021 08:50:23 +0200 Subject: [PATCH] Suppress `InvalidArgument` PSalm error in `IdentityTraversable::traverse()`. --- src/Instances/Identity/IdentityTraversable.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Instances/Identity/IdentityTraversable.php b/src/Instances/Identity/IdentityTraversable.php index d2a86ff..20f2c5c 100644 --- a/src/Instances/Identity/IdentityTraversable.php +++ b/src/Instances/Identity/IdentityTraversable.php @@ -57,6 +57,7 @@ public function foldr(callable $f, $b, HK1 $a) * @return HK1> * * @psalm-suppress ImplementedReturnTypeMismatch + * @psalm-suppress InvalidArgument * @psalm-suppress LessSpecificImplementedReturnType */ public function traverse(Applicative $applicative, callable $f, HK1 $a): HK1