Skip to content

Commit

Permalink
Add missing Ds\Set::reduce to stubs.
Browse files Browse the repository at this point in the history
  • Loading branch information
ZebulanStanphill authored and ondrejmirtes committed Jan 25, 2022
1 parent a2acf64 commit 19f5ef4
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions stubs/ext-ds.stub
Expand Up @@ -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
*/
Expand Down

0 comments on commit 19f5ef4

Please sign in to comment.