| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 52 | public function __construct($url, $method, $body = null, array $headers = []) |
||
| 53 | { |
||
| 54 | Util::throwIfNotType(['string' => [$url, $method]], true); |
||
| 55 | Util::throwIfNotType(['string' => [$body]], true, true); |
||
| 56 | |||
| 57 | $this->url = $url; |
||
| 58 | $this->method = $method; |
||
| 59 | $this->body = $body; |
||
| 60 | $this->headers = $headers; |
||
| 61 | } |
||
| 62 | |||
| 103 |