From 19f5ef444458481e04d50e83819c6612a1e45a10 Mon Sep 17 00:00:00 2001 From: Zebulan Stanphill Date: Mon, 24 Jan 2022 17:18:29 -0600 Subject: [PATCH] Add missing Ds\Set::reduce to stubs. --- stubs/ext-ds.stub | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/stubs/ext-ds.stub b/stubs/ext-ds.stub index 2c859a9738..1075d9a31d 100644 --- a/stubs/ext-ds.stub +++ b/stubs/ext-ds.stub @@ -700,6 +700,16 @@ final class Set implements Collection, ArrayAccess { } + /** + * @template TCarry + * @param callable(TCarry, TValue): TCarry $callback + * @param TCarry $initial + * @return TCarry + */ + public function reduce(callable $callback, $initial = null) + { + } + /** * @param TValue ...$values */