| Conditions | 1 |
| Paths | 1 |
| Total Lines | 18 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 8 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 53 | 8 | public function __construct( |
|
| 54 | string $providerName, |
||
| 55 | string $description, |
||
| 56 | string $uri, |
||
| 57 | string $method = 'GET', |
||
| 58 | array $headers = [], |
||
| 59 | ?string $query = null, |
||
| 60 | array $body = [] |
||
| 61 | ) |
||
| 62 | { |
||
| 63 | 8 | $this->providerName = $providerName; |
|
| 64 | 8 | $this->description = $description; |
|
| 65 | 8 | $this->uri = $uri; |
|
| 66 | 8 | $this->method = $method; |
|
| 67 | 8 | $this->query = $query; |
|
| 68 | 8 | $this->body = $body; |
|
| 69 | 8 | $this->headers = $headers; |
|
| 70 | } |
||
| 71 | |||
| 128 |