Skip to content

Commit

Permalink
Update Collection.php (#41438)
Browse files Browse the repository at this point in the history
  • Loading branch information
foremtehan committed Mar 11, 2022
1 parent 15d9a85 commit 0bbc787
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Collection.php
Original file line number Diff line number Diff line change
Expand Up @@ -856,7 +856,7 @@ public function nth($step, $offset = 0)
/**
* Get the items with the specified keys.
*
* @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey> $keys
* @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys
* @return static
*/
public function only($keys)
Expand Down

0 comments on commit 0bbc787

Please sign in to comment.