Skip to content

Commit 19f5ef4

Browse files
ZebulanStanphillondrejmirtes
authored andcommitted
Add missing Ds\Set::reduce to stubs.
1 parent a2acf64 commit 19f5ef4

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

stubs/ext-ds.stub

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -700,6 +700,16 @@ final class Set implements Collection, ArrayAccess
700700
{
701701
}
702702

703+
/**
704+
* @template TCarry
705+
* @param callable(TCarry, TValue): TCarry $callback
706+
* @param TCarry $initial
707+
* @return TCarry
708+
*/
709+
public function reduce(callable $callback, $initial = null)
710+
{
711+
}
712+
703713
/**
704714
* @param TValue ...$values
705715
*/

0 commit comments

Comments
 (0)