@@ -187,6 +187,7 @@ |
||
| 187 | 187 | |
| 188 | 188 | /** |
| 189 | 189 | * @internal |
| 190 | + * @param integer $privateCode |
|
| 190 | 191 | */ |
| 191 | 192 | public function promptAuthWithUtil($privateCode, $util, HttpGetResponse $res, IO\IOInterface $io) |
| 192 | 193 | { |
@@ -83,6 +83,10 @@ |
||
| 83 | 83 | return $request; |
| 84 | 84 | } |
| 85 | 85 | |
| 86 | + /** |
|
| 87 | + * @param string $origin |
|
| 88 | + * @param CConfig $config |
|
| 89 | + */ |
|
| 86 | 90 | private static function getRequestClass($origin, $config) |
| 87 | 91 | { |
| 88 | 92 | if (in_array($origin, $config->get('github-domains') ?: array())) { |