diff --git a/src/Composer/Package/CompletePackage.php b/src/Composer/Package/CompletePackage.php index 418c87d9e..a884174af 100644 --- a/src/Composer/Package/CompletePackage.php +++ b/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) { diff --git a/src/Composer/Package/PackageInterface.php b/src/Composer/Package/PackageInterface.php index 50553f9c4..a51274d5b 100644 --- a/src/Composer/Package/PackageInterface.php +++ b/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();