Browse Source

Merge pull request #3321 from francoispluchino/fix-phpdoc

Fix phpdoc
Jordi Boggiano 10 years ago
parent
commit
626670d950

+ 1 - 1
src/Composer/Package/CompletePackage.php

@@ -47,7 +47,7 @@ class CompletePackage extends Package implements CompletePackageInterface
     /**
      * Set the repositories
      *
-     * @param string $repositories
+     * @param array $repositories
      */
     public function setRepositories($repositories)
     {

+ 2 - 2
src/Composer/Package/PackageInterface.php

@@ -118,7 +118,7 @@ interface PackageInterface
     /**
      * Returns the repository urls of this package including mirrors, e.g. git://github.com/naderman/composer.git
      *
-     * @return string
+     * @return array
      */
     public function getSourceUrls();
 
@@ -153,7 +153,7 @@ interface PackageInterface
     /**
      * Returns the urls of the distribution archive of this version, including mirrors
      *
-     * @return string
+     * @return array
      */
     public function getDistUrls();