Skip to content

Commit

Permalink
Adjusts Enumerable::reject argument type
Browse files Browse the repository at this point in the history
  • Loading branch information
nunomaduro committed Nov 30, 2022
1 parent c32c4fb commit d828da6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Collections/Enumerable.php
Original file line number Diff line number Diff line change
Expand Up @@ -1101,7 +1101,7 @@ public function pluck($value, $key = null);
/**
* Create a collection of all elements that do not pass a given truth test.
*
* @param (callable(TValue, TKey): bool)|bool $callback
* @param (callable(TValue, TKey): bool)|bool|TValue $callback
* @return static
*/
public function reject($callback = true);
Expand Down

0 comments on commit d828da6

Please sign in to comment.