* @template TGroupKey of array-key * * @param (callable(TValue, TKey): TGroupKey)|array|string $groupBy * @param bool $preserveKeys * @return static< * ($groupBy is (array|string) * ? array-key * : TGroupKey), * static<($preserveKeys is true ? TKey : int), TValue> * > */
($groupBy, $preserveKeys = false)
| 5143 | * > |
| 5144 | */ |
| 5145 | public function groupBy($groupBy, $preserveKeys = false) |
| 5146 | { |
| 5147 | } |
| 5148 | |
| 5149 | /** |
| 5150 | * @template TMapValue |
no outgoing calls
no test coverage detected