From d9a62ffd5092255a58b1fa88626acb9b3aa9242e Mon Sep 17 00:00:00 2001 From: Sullivan SENECHAL Date: Fri, 27 Nov 2015 12:51:04 +0100 Subject: [PATCH] Improve PHPDoc for package links --- src/Composer/Package/PackageInterface.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Composer/Package/PackageInterface.php b/src/Composer/Package/PackageInterface.php index c88771cfd..73d2ade41 100644 --- a/src/Composer/Package/PackageInterface.php +++ b/src/Composer/Package/PackageInterface.php @@ -220,7 +220,7 @@ interface PackageInterface * Returns a set of links to packages which need to be installed before * this package can be installed * - * @return array An array of package links defining required packages + * @return Link[] An array of package links defining required packages */ public function getRequires(); @@ -228,7 +228,7 @@ interface PackageInterface * Returns a set of links to packages which must not be installed at the * same time as this package * - * @return array An array of package links defining conflicting packages + * @return Link[] An array of package links defining conflicting packages */ public function getConflicts(); @@ -236,7 +236,7 @@ interface PackageInterface * Returns a set of links to virtual packages that are provided through * this package * - * @return array An array of package links defining provided packages + * @return Link[] An array of package links defining provided packages */ public function getProvides(); @@ -244,7 +244,7 @@ interface PackageInterface * Returns a set of links to packages which can alternatively be * satisfied by installing this package * - * @return array An array of package links defining replaced packages + * @return Link[] An array of package links defining replaced packages */ public function getReplaces(); @@ -252,7 +252,7 @@ interface PackageInterface * Returns a set of links to packages which are required to develop * this package. These are installed if in dev mode. * - * @return array An array of package links defining packages required for development + * @return Link[] An array of package links defining packages required for development */ public function getDevRequires();