Skip to content

Commit

Permalink
📝 chore: update some comments message
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed Feb 7, 2024
1 parent 02331ad commit 34243f5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/Util/Stream/DataStream.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<string, mixed>
* @return array<string, mixed> return the map key and value
*/
public function eachToMap(callable $func, array $map = []): array
{
Expand Down

0 comments on commit 34243f5

Please sign in to comment.