10000 update Collection docblocks (#56135) · laravel/framework@2879f17 · GitHub
[go: up one dir, main page]

Skip to content

Commit 2879f17

Browse files
authored
update Collection docblocks (#56135)
1 parent 1272695 commit 2879f17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Collections/Collection.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1236,7 +1236,7 @@ public function after($value, $strict = false)
12361236
/**
12371237
* Get and remove the first N items from the collection.
12381238
*
1239-
* @param int $count
1239+
* @param int<0, max> $count
12401240
* @return static<int, TValue>|TValue|null
12411241
*
12421242
* @throws \InvalidArgumentException
@@ -1844,7 +1844,7 @@ public function getIterator(): Traversable
18441844
/**
18451845
* Count the number of items in the collection.
18461846
*
1847-
* @return int
1847+
* @return int<0, max>
18481848
*/
18491849
public function count(): int
18501850
{

0 commit comments

Comments
 (0)
0