Total Complexity | 4 |
Total Lines | 40 |
Duplicated Lines | 0 % |
Coverage | 72.72% |
Changes | 2 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | abstract class AbstractGitHubIO extends AbstractIO |
||
16 | { |
||
17 | |||
18 | /** |
||
19 | * @var Api |
||
20 | */ |
||
21 | protected $api; |
||
22 | |||
23 | /** |
||
24 | * Gets an active connection to the GitHub api. |
||
25 | * |
||
26 | * @return Api |
||
27 | */ |
||
28 | 4 | protected function getApi() |
|
36 | } |
||
37 | |||
38 | /** |
||
39 | * Creates a new instance of the API library to use later. |
||
40 | * |
||
41 | * @throws InvalidArgumentException |
||
42 | */ |
||
43 | 1 | protected function createApiInstance() |
|
58 |