We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c0aacc commit 677618bCopy full SHA for 677618b
src/Illuminate/Collections/Arr.php
@@ -951,7 +951,7 @@ public static function shuffle($array)
951
* Get the first item in the array, but only if exactly one item exists. Otherwise, throw an exception.
952
*
953
* @param array $array
954
- * @param callable(mixed, array-key): array|null $callback
+ * @param (callable(mixed, array-key): array)|null $callback
955
956
* @throws \Illuminate\Support\ItemNotFoundException
957
* @throws \Illuminate\Support\MultipleItemsFoundException
0 commit comments