浏览代码

Merge pull request #3321 from francoispluchino/fix-phpdoc

Fix phpdoc
Jordi Boggiano 10 年之前
父节点
当前提交
626670d950
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      src/Composer/Package/CompletePackage.php
  2. 2 2
      src/Composer/Package/PackageInterface.php

+ 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();