* @template T * @param T $item * @return TypedCollection */
(object $item)
| 4178 | * @return TypedCollection<int, T> |
| 4179 | */ |
| 4180 | public function wrap(object $item): TypedCollection |
| 4181 | { |
| 4182 | /** @var TypedCollection<int, T> */ |
| 4183 | return new TypedCollection([$item]); |
| 4184 | } |
| 4185 | |
| 4186 | /** |
| 4187 | * @template T |
no outgoing calls
no test coverage detected