ソースを参照

protected unused methods.

xaav 14 年 前
コミット
2213b21002

+ 3 - 3
src/Packagist/WebBundle/Repository/Repository/GitRepository.php

@@ -17,12 +17,12 @@ class GitRepository implements RepositoryInterface
     /**
      * @deprecated
      */
-    public function getComposerFile($hash)
+    protected function getComposerFile($hash)
     {
         return json_decode(file_get_contents('https://raw.github.com/'.$this->owner.'/'.$this->repository.'/'.$hash.'/composer.json'), true);
     }
 
-    public function getRepoData()
+    protected function getRepoData()
     {
         return json_decode(file_get_contents('http://github.com/api/v2/json/repos/show/'.$this->owner.'/'.$this->repository), true);
     }
@@ -30,7 +30,7 @@ class GitRepository implements RepositoryInterface
     /**
      * @deprecated
      */
-    public function getTagsData()
+    protected function getTagsData()
     {
         return json_decode(file_get_contents('http://github.com/api/v2/json/repos/show/'.$this->owner.'/'.$this->repository.'/tags'), true);
     }