Skip to content

Commit

Permalink
Remove deprecated reduceMany method (#40565)
Browse files Browse the repository at this point in the history
  • Loading branch information
JosephSilber committed Jan 24, 2022
1 parent 528dea5 commit 02365bb
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/Illuminate/Collections/Traits/EnumeratesValues.php
Original file line number Diff line number Diff line change
Expand Up @@ -758,22 +758,6 @@ public function reduce(callable $callback, $initial = null)
return $result;
}

/**
* Reduce the collection to multiple aggregate values.
*
* @param callable $callback
* @param mixed ...$initial
* @return array
*
* @deprecated Use "reduceSpread" instead
*
* @throws \UnexpectedValueException
*/
public function reduceMany(callable $callback, ...$initial)
{
return $this->reduceSpread($callback, ...$initial);
}

/**
* Reduce the collection to multiple aggregate values.
*
Expand Down

0 comments on commit 02365bb

Please sign in to comment.