Skip to content

Commit

Permalink
Add Set::map() to ext-ds stub
Browse files Browse the repository at this point in the history
  • Loading branch information
simPod committed Dec 14, 2021
1 parent 832fc35 commit 9f13b73
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions stubs/ext-ds.phpstub
Expand Up @@ -1113,6 +1113,15 @@ final class Set implements Collection, ArrayAccess
{
}

/**
* @template TNewValue
* @param callable(TValue): TNewValue $callback
* @return Set<TNewValue>
*/
public function map(callable $callback): Set
{
}

/**
* @template TValue2
* @param iterable<TValue2> $values
Expand Down

0 comments on commit 9f13b73

Please sign in to comment.