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 1272695 commit 2879f17Copy full SHA for 2879f17
src/Illuminate/Collections/Collection.php
@@ -1236,7 +1236,7 @@ public function after($value, $strict = false)
1236
/**
1237
* Get and remove the first N items from the collection.
1238
*
1239
- * @param int $count
+ * @param int<0, max> $count
1240
* @return static<int, TValue>|TValue|null
1241
1242
* @throws \InvalidArgumentException
@@ -1844,7 +1844,7 @@ public function getIterator(): Traversable
1844
1845
* Count the number of items in the collection.
1846
1847
- * @return int
+ * @return int<0, max>
1848
*/
1849
public function count(): int
1850
{
0 commit comments