@@ -120,7 +120,7 @@ discard block |
||
120 | 120 | /** |
121 | 121 | * Checks if repo exists. |
122 | 122 | * @param string $repo full name vendor/package defaults to this repo name |
123 | - * @return int exit code |
|
123 | + * @return boolean exit code |
|
124 | 124 | */ |
125 | 125 | public function actionExists($repo = null) |
126 | 126 | { |
@@ -168,6 +168,10 @@ discard block |
||
168 | 168 | return 0; |
169 | 169 | } |
170 | 170 | |
171 | + /** |
|
172 | + * @param string $method |
|
173 | + * @param string $path |
|
174 | + */ |
|
171 | 175 | public function request($method, $path, $data) |
172 | 176 | { |
173 | 177 | $url = 'https://api.github.com' . $path; |