| Total Complexity | 2 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 2 | ||
| Bugs | 1 | Features | 0 |
| 1 | <?php |
||
| 13 | class HttpRequestOptions extends DataTransferObject |
||
| 14 | { |
||
| 15 | /** |
||
| 16 | * @var array<mixed>|string|null |
||
| 17 | */ |
||
| 18 | public string|array|null $query = null; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @var array<mixed>|null |
||
| 22 | */ |
||
| 23 | public ?array $headers = null; |
||
| 24 | |||
| 25 | public ?string $body = null; |
||
| 26 | |||
| 27 | public ?HandlerStack $handler = null; |
||
| 28 | |||
| 29 | public function addHeader(string $key, mixed $value): void |
||
| 32 | } |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @return array<mixed> |
||
| 36 | */ |
||
| 37 | public function all(): array |
||
| 44 |