Skip to content

Commit e165d47

Browse files
authored
[9.X] Fix Collection::random php-doc (#44097)
1 parent 004163a commit e165d47

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Collections/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -974,7 +974,7 @@ public function put($key, $value)
974974
/**
975975
* Get one or a specified number of items randomly from the collection.
976976
*
977-
* @param (callable(TValue): int)|int|null $number
977+
* @param (callable(self<TKey, TValue>): int)|int|null $number
978978
* @return static<int, TValue>|TValue
979979
*
980980
* @throws \InvalidArgumentException

0 commit comments

Comments
 (0)