Browse Source

Make auth credential creation private

Benjamin Grandfond 10 years ago
parent
commit
31b95ed02c
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/Composer/Util/Svn.php

+ 2 - 2
src/Composer/Util/Svn.php

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