Skip to content

Commit 02365bb

Browse files
authored
Remove deprecated reduceMany method (#40565)
1 parent 528dea5 commit 02365bb

File tree

1 file changed

+0
-16
lines changed

1 file changed

+0
-16
lines changed

src/Illuminate/Collections/Traits/EnumeratesValues.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -758,22 +758,6 @@ public function reduce(callable $callback, $initial = null)
758758
return $result;
759759
}
760760

761-
/**
762-
* Reduce the collection to multiple aggregate values.
763-
*
764-
* @param callable $callback
765-
* @param mixed ...$initial
766-
* @return array
767-
*
768-
* @deprecated Use "reduceSpread" instead
769-
*
770-
* @throws \UnexpectedValueException
771-
*/
772-
public function reduceMany(callable $callback, ...$initial)
773-
{
774-
return $this->reduceSpread($callback, ...$initial);
775-
}
776-
777761
/**
778762
* Reduce the collection to multiple aggregate values.
779763
*

0 commit comments

Comments
 (0)