Skip to content

Commit

Permalink
style: apply changes from phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
innocenzi committed Nov 13, 2024
1 parent fbb2ecf commit 1363666
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Tempest/Support/src/ArrayHelper.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand All @@ -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
*/
Expand Down

0 comments on commit 1363666

Please # to comment.