Skip to content

Commit 5319ddb

Browse files
committed
add string to docblocks
1 parent 352a6f1 commit 5319ddb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Illuminate/Collections/Enumerable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -757,7 +757,7 @@ public function nth($step, $offset = 0);
757757
/**
758758
* Get the items with the specified keys.
759759
*
760-
* @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey> $keys
760+
* @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys
761761
* @return static
762762
*/
763763
public function only($keys);

src/Illuminate/Collections/LazyCollection.php

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

0 commit comments

Comments
 (0)