Skip to content

Commit

Permalink
[8.x] Update PHPDoc of Collection::forget() (#40283)
Browse files Browse the repository at this point in the history
* Update PHPDoc of Collection::forget()

* Update src/Illuminate/Collections/Collection.php

Co-authored-by: Dries Vints <[email protected]>

Co-authored-by: Taylor Otwell <[email protected]>
Co-authored-by: Dries Vints <[email protected]>
  • Loading branch information
3 people authored Jan 7, 2022
1 parent 66c5afc commit 331c3f3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Collections/Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ public function flip()
/**
* Remove an item from the collection by key.
*
* @param string|array $keys
* @param string|int|array $keys
* @return $this
*/
public function forget($keys)
Expand Down Expand Up @@ -1628,7 +1628,7 @@ public function offsetSet($key, $value)
/**
* Unset the item at a given offset.
*
* @param string $key
* @param mixed $key
* @return void
*/
#[\ReturnTypeWillChange]
Expand Down

0 comments on commit 331c3f3

Please sign in to comment.