From 009fcb4262154c8ff926dcd42e4621c250927884 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Sun, 20 Apr 2014 19:34:54 +0200 Subject: [PATCH] Fix arg signature --- src/Composer/Util/RemoteFilesystem.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Util/RemoteFilesystem.php b/src/Composer/Util/RemoteFilesystem.php index 0dda89a99..106f61285 100644 --- a/src/Composer/Util/RemoteFilesystem.php +++ b/src/Composer/Util/RemoteFilesystem.php @@ -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)) { $message = "\n".'Could not fetch '.$this->fileUrl.', enter your GitHub credentials '.($httpStatus === 404 ? 'to access private repos' : 'to go over the API rate limit');