10000 [10.x] Collection `except()` method can accept a `string` value (#46639) · tegos/laravel-framework@3bdb47c · GitHub
[go: up one dir, main page]

Skip to content

Commit 3bdb47c

Browse files
authored
[10.x] Collection except() method can accept a string value (laravel#46639)
1 parent 95e72aa commit 3bdb47c

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
@@ -356,7 +356,7 @@ protected function duplicateComparator($strict)
356356
/**
357357
* Get all items except for those with the specified keys.
358358
*
359-
* @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey> $keys
359+
* @param \Illuminate\Support\Enumerable<array-key, TKey>|array<array-key, TKey>|string $keys
360360
* @return static
361361
*/
362362
public function except($keys)

0 commit comments

Comments
 (0)
0