File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -532,14 +532,14 @@ final public function mapToDictionary(Closure $closure): array
532532 * @template TMapToGroupsValue
533533 *
534534 * @param Closure(TValue, int): array<TMapToGroupsKey, TMapToGroupsValue> $closure
535- * @return array<TMapToGroupsKey, static<TMapToGroupsKey >>
535+ * @return array<TMapToGroupsKey, IArrayList<TMapToGroupsValue >>
536536 */
537537 #[Override]
538538 final public function mapToGroups (Closure $ closure ): array
539539 {
540540 $ groups = $ this ->mapToDictionary ($ closure );
541541
542- return array_map (static fn ($ items ) => new static ($ items ), $ groups );
542+ return array_map (static fn ($ items ) => new self ($ items ), $ groups );
543543 }
544544
545545 #[Override]
Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ public function mapToDictionary(Closure $closure): array;
220220 * @template TMapToGroupsValue
221221 *
222222 * @param Closure(TValue, int): array<TMapToGroupsKey, TMapToGroupsValue> $closure
223- * @return array<TMapToGroupsKey, static<TMapToGroupsKey >>
223+ * @return array<TMapToGroupsKey, IArrayList<TMapToGroupsValue >>
224224 */
225225 public function mapToGroups (Closure $ closure ): array ;
226226
You can’t perform that action at this time.
0 commit comments