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 66c5afc commit 331c3f3Copy full SHA for 331c3f3
src/Illuminate/Collections/Collection.php
@@ -397,7 +397,7 @@ public function flip()
397
/**
398
* Remove an item from the collection by key.
399
*
400
- * @param string|array $keys
+ * @param string|int|array $keys
401
* @return $this
402
*/
403
public function forget($keys)
@@ -1628,7 +1628,7 @@ public function offsetSet($key, $value)
1628
1629
* Unset the item at a given offset.
1630
1631
- * @param string $key
+ * @param mixed $key
1632
* @return void
1633
1634
#[\ReturnTypeWillChange]
0 commit comments