Skip to content

Commit e4ebbbe

Browse files
committed
下载时使用代理 配置更新
1 parent 5f92647 commit e4ebbbe

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

sapi/src/Preprocessor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,7 +469,7 @@ protected function downloadFile(?object $project = null, string $httpProxyConfig
469469
* @param string $httpProxyConfig
470470
* @return void
471471
*/
472-
public function downloadFileWithPie(?object $project = null, string $httpProxyConfig): void
472+
public function downloadFileWithPie(?object $project = null, string $httpProxyConfig = ''): void
473473
{
474474
$pieName = $project->pieName;
475475
$pieVersion = $project->pieVersion;
@@ -509,7 +509,7 @@ public function downloadFileWithPie(?object $project = null, string $httpProxyCo
509509
* @param string $httpProxyConfig
510510
* @return void
511511
*/
512-
protected function downloadFileWithScript(?object $project = null, string $httpProxyConfig): void
512+
protected function downloadFileWithScript(?object $project = null, string $httpProxyConfig = ''): void
513513
{
514514

515515
if (!empty($project->downloadScript) && !empty($project->downloadDirName)) {

0 commit comments

Comments
 (0)