From 34243f5a3ffe2eaab78316e2d86c351daafaf926 Mon Sep 17 00:00:00 2001 From: inhere Date: Wed, 7 Feb 2024 17:58:31 +0800 Subject: [PATCH] :memo: chore: update some comments message --- src/Util/Stream/DataStream.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Util/Stream/DataStream.php b/src/Util/Stream/DataStream.php index 746f5eb..d5df6d2 100644 --- a/src/Util/Stream/DataStream.php +++ b/src/Util/Stream/DataStream.php @@ -541,10 +541,12 @@ public function eachToArray(callable $func, array $arr = []): array } /** + * Each item to map + * * @param callable(array|mixed): array{string, mixed} $func * @param array $map * - * @return array + * @return array return the map key and value */ public function eachToMap(callable $func, array $map = []): array {