Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 7 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
24 | 1 | public function list(array $query = []): WorkcastPagination |
|
25 | { |
||
26 | 1 | $query = array_merge([ |
|
27 | 1 | 'limit' => 100, |
|
28 | 1 | 'skip' => 0, |
|
29 | 1 | ], $query); |
|
30 | |||
31 | 1 | $response = $this->httpClient()->get($this->baseUrl(), $query); |
|
32 | |||
33 | 1 | return new WorkcastPagination($response, $this->key()); |
|
34 | } |
||
52 |