1
0
Fork 0

Fix arg signature

pull/2931/head
Jordi Boggiano 2014-04-20 19:34:54 +02:00
parent cfed93287c
commit 009fcb4262
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ class RemoteFilesystem
} }
} }
protected function promptAuthAndRetry($httpStatus, $reason) protected function promptAuthAndRetry($httpStatus, $reason = null)
{ {
if ($this->config && in_array($this->originUrl, $this->config->get('github-domains'), true)) { if ($this->config && in_array($this->originUrl, $this->config->get('github-domains'), true)) {
$message = "\n".'Could not fetch '.$this->fileUrl.', enter your GitHub credentials '.($httpStatus === 404 ? 'to access private repos' : 'to go over the API rate limit'); $message = "\n".'Could not fetch '.$this->fileUrl.', enter your GitHub credentials '.($httpStatus === 404 ? 'to access private repos' : 'to go over the API rate limit');