Make auth credential creation private

main
Benjamin Grandfond 10 years ago
parent a21b0f82db
commit 31b95ed02c

@ -281,7 +281,7 @@ class Svn
* *
* @return bool * @return bool
*/ */
protected function createAuthFromConfig() private function createAuthFromConfig()
{ {
if (!$this->config->has('http-basic')) { if (!$this->config->has('http-basic')) {
return $this->hasAuth = false; return $this->hasAuth = false;
@ -304,7 +304,7 @@ class Svn
* *
* @return bool * @return bool
*/ */
protected function createAuthFromUrl() private function createAuthFromUrl()
{ {
$uri = parse_url($this->url); $uri = parse_url($this->url);
if (empty($uri['user'])) { if (empty($uri['user'])) {

Loading…
Cancel
Save