Skip to content

Commit 352a6f1

Browse files
authored
Update Collection.php (#41438)
1 parent 8b0af92 commit 352a6f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Collections/Collection.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -856,7 +856,7 @@ public function nth($step, $offset = 0)
856856
/**
857857
* Get the items with the specified keys.
858858
*
859-
* @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey> $keys
859+
* @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys
860860
* @return static
861861
*/
862862
public function only($keys)

0 commit comments

Comments
 (0)