From 9f13b73a01206697f93e642ae9e3f612f1fe9597 Mon Sep 17 00:00:00 2001 From: Simon Podlipsky Date: Tue, 14 Dec 2021 10:18:14 +0100 Subject: [PATCH] Add Set::map() to ext-ds stub --- stubs/ext-ds.phpstub | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/stubs/ext-ds.phpstub b/stubs/ext-ds.phpstub index fbf21834a50..04eef4dc4c5 100644 --- a/stubs/ext-ds.phpstub +++ b/stubs/ext-ds.phpstub @@ -1113,6 +1113,15 @@ final class Set implements Collection, ArrayAccess { } + /** + * @template TNewValue + * @param callable(TValue): TNewValue $callback + * @return Set + */ + public function map(callable $callback): Set + { + } + /** * @template TValue2 * @param iterable $values