| Conditions | 3 |
| Paths | 4 |
| Total Lines | 8 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 7 |
| CRAP Score | 3 |
| Changes | 0 | ||
| 1 | <?php |
||
| 29 | 16 | public function __construct(ListResourcesQuery $listResourcesQuery, $login, $password, $url = null, Client $client = null) |
|
| 30 | { |
||
| 31 | 16 | $this->url = null === $url?static::URL: $url; |
|
| 32 | 16 | $this->login = $login; |
|
| 33 | 16 | $this->client = $client?: new Client(); |
|
| 34 | 16 | $this->password = $password; |
|
| 35 | 16 | $this->listResourcesQuery = $listResourcesQuery; |
|
| 36 | 16 | } |
|
| 37 | |||
| 48 |