Skip to content

Commit d828da6

Browse files
committed
Adjusts Enumerable::reject argument type
1 parent c32c4fb commit d828da6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Illuminate/Collections/Enumerable.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1101,7 +1101,7 @@ public function pluck($value, $key = null);
11011101
/**
11021102
* Create a collection of all elements that do not pass a given truth test.
11031103
*
1104-
* @param (callable(TValue, TKey): bool)|bool $callback
1104+
* @param (callable(TValue, TKey): bool)|bool|TValue $callback
11051105
* @return static
11061106
*/
11071107
public function reject($callback = true);

0 commit comments

Comments
 (0)