Rob Bast 10 лет назад
Родитель
Сommit
cdcf39b2f0
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      src/Composer/Command/DiagnoseCommand.php

+ 1 - 1
src/Composer/Command/DiagnoseCommand.php

@@ -271,7 +271,7 @@ EOT
 
         try {
             $url = $domain === 'github.com' ? 'https://api.'.$domain.'/rate_limit' : 'https://'.$domain.'/api/rate_limit';
-            $json = $this->rfs->getContents($domain, $url, array('retry-auth-failure' => false));
+            $json = $this->rfs->getContents($domain, $url, false, array('retry-auth-failure' => false));
             $data = json_decode($json, true);
 
             return $data['rate'];