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 004163a commit e165d47Copy full SHA for e165d47
src/Illuminate/Collections/Collection.php
@@ -974,7 +974,7 @@ public function put($key, $value)
974
/**
975
* Get one or a specified number of items randomly from the collection.
976
*
977
- * @param (callable(TValue): int)|int|null $number
+ * @param (callable(self<TKey, TValue>): int)|int|null $number
978
* @return static<int, TValue>|TValue
979
980
* @throws \InvalidArgumentException
0 commit comments