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 8b0af92 commit 352a6f1Copy full SHA for 352a6f1
src/Illuminate/Collections/Collection.php
@@ -856,7 +856,7 @@ public function nth($step, $offset = 0)
856
/**
857
* Get the items with the specified keys.
858
*
859
- * @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
860
* @return static
861
*/
862
public function only($keys)
0 commit comments