From 1ca4949ccdc4a9292a2c2ba75cd7c62aca94a43f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gr=C3=A9goire=20Paris?= Date: Thu, 29 Sep 2022 23:37:19 +0200 Subject: [PATCH] Mark closure arguments as always-provided Follow up of 4e5e58f48879ba4bf40f1080c7508a0c1ea1cd7b . --- src/ReadableCollection.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ReadableCollection.php b/src/ReadableCollection.php index 4f7c68f9..53d0bf37 100644 --- a/src/ReadableCollection.php +++ b/src/ReadableCollection.php @@ -217,7 +217,7 @@ public function indexOf(mixed $element); * Returns the first element of this collection that satisfies the predicate p. * * @param Closure $p The predicate. - * @psalm-param Closure(TKey=, T=):bool $p + * @psalm-param Closure(TKey, T):bool $p * * @return mixed The first element respecting the predicate, * null if no element respects the predicate.