| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 28 | 2 | public function __construct(Client $client, Parameters $applicationParams) |
|
| 29 | { |
||
| 30 | 2 | $this->applicationParams = $applicationParams; |
|
| 31 | 2 | $this->client = $client; |
|
| 32 | 2 | $this->headerConfig = [ |
|
| 33 | 2 | 'auth' => [$applicationParams->authenticationUser(), $applicationParams->authenticationPassword()], |
|
| 34 | 'headers' => ['Accept' => 'application/json'], |
||
| 35 | ]; |
||
| 36 | 2 | } |
|
| 37 | |||
| 56 |