@@ -113,7 +113,7 @@ discard block |
||
113 | 113 | /** |
114 | 114 | * Action to check if repo exists. |
115 | 115 | * @param string $repo full name vendor/package defaults to this repo name |
116 | - * @return int exit code |
|
116 | + * @return boolean exit code |
|
117 | 117 | */ |
118 | 118 | public function actionExists($repo = null) |
119 | 119 | { |
@@ -160,6 +160,10 @@ discard block |
||
160 | 160 | return 0; |
161 | 161 | } |
162 | 162 | |
163 | + /** |
|
164 | + * @param string $method |
|
165 | + * @param string $path |
|
166 | + */ |
|
163 | 167 | public function request($method, $path, $data) |
164 | 168 | { |
165 | 169 | $url = 'https://api.github.com' . $path; |