From 1363666ad250ca3a4aff7896ce1495269e87db67 Mon Sep 17 00:00:00 2001 From: Enzo Innocenzi Date: Tue, 12 Nov 2024 16:17:38 +0100 Subject: [PATCH] style: apply changes from phpstan --- src/Tempest/Support/src/ArrayHelper.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Tempest/Support/src/ArrayHelper.php b/src/Tempest/Support/src/ArrayHelper.php index 8b0f44b3d..441740bf4 100644 --- a/src/Tempest/Support/src/ArrayHelper.php +++ b/src/Tempest/Support/src/ArrayHelper.php @@ -455,7 +455,7 @@ public function equals(array|self $other): bool * Returns the first item in the instance that matches the given `$filter`. * If `$filter` is `null`, returns the first item. * - * @param Closure(TValue $value, TKey $key)|null: bool $filter + * @param null|Closure(TValue $value, TKey $key): bool $filter * * @return TValue */ @@ -482,7 +482,7 @@ public function first(?Closure $filter = null): mixed * Returns the last item in the instance that matches the given `$filter`. * If `$filter` is `null`, returns the last item. * - * @param Closure(TValue $value, TKey $key)|null: bool $filter + * @param null|Closure(TValue $value, TKey $key): bool $filter * * @return TValue */