xaav преди 14 години
родител
ревизия
ef3d37285d
променени са 1 файла, в които са добавени 8 реда и са изтрити 0 реда
  1. 8 0
      src/Packagist/WebBundle/Repository/Repository/GitRepository.php

+ 8 - 0
src/Packagist/WebBundle/Repository/Repository/GitRepository.php

@@ -40,7 +40,15 @@ class GitRepository implements RepositoryInterface
         return $this->owner;
     }
 
+    /**
+     * @deprecated
+     */
     public function getSource()
+    {
+        return $this->getUrl();
+    }
+
+    public function getUrl()
     {
         return 'http://github.com/'.$this->owner.'/'.$this->repository.'.git';
     }