We have detected an error in your notification set-up
(Event-ID dab39dc24f564ec7bd4628d1305fd03c).
Currently, we cannot inform you about inspection progress.
Please check that the user
557058:bca11929-8c2d-43f2-8a82-c5416880d395
still has access to your repository or
update the API account.
Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
36 | 14 | public function all($owner = null, array $params = array()) |
|
37 | { |
||
38 | 14 | $endpoint = '/repositories'; |
|
39 | |||
40 | 14 | if (!is_null($owner)) { |
|
41 | 14 | $endpoint = sprintf('/repositories/%s', $owner); |
|
42 | } |
||
43 | |||
44 | 14 | return $this->getClient()->setApiVersion('2.0')->get($endpoint, $params); |
|
45 | } |
||
46 | } |
||
47 |