Skip to content

Commit

Permalink
Merge pull request #7156 from simPod/set-map
Browse files Browse the repository at this point in the history
Add Set::map() to ext-ds stub
  • Loading branch information
orklah committed Dec 14, 2021
2 parents 41fe553 + 9f13b73 commit b2de778
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 b2de778

Please sign in to comment.