From 02365bb5ebafeeaef28b5eb659466c56b2634c65 Mon Sep 17 00:00:00 2001 From: Joseph Silber Date: Mon, 24 Jan 2022 12:03:27 -0500 Subject: [PATCH] Remove deprecated `reduceMany` method (#40565) --- .../Collections/Traits/EnumeratesValues.php | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/src/Illuminate/Collections/Traits/EnumeratesValues.php b/src/Illuminate/Collections/Traits/EnumeratesValues.php index 51267ffda5be..869e37146b63 100644 --- a/src/Illuminate/Collections/Traits/EnumeratesValues.php +++ b/src/Illuminate/Collections/Traits/EnumeratesValues.php @@ -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. *