From eefb4644b03e3fdcd6fba5066895fb67468ac8b4 Mon Sep 17 00:00:00 2001 From: Markus Staab Date: Tue, 8 Feb 2022 14:24:59 +0100 Subject: [PATCH] InstallerInterface: describe `getInstallPath()` to return a absolute path (#10524) --- src/Composer/Installer/InstallerInterface.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Composer/Installer/InstallerInterface.php b/src/Composer/Installer/InstallerInterface.php index f664a3ab4..fd3015e83 100644 --- a/src/Composer/Installer/InstallerInterface.php +++ b/src/Composer/Installer/InstallerInterface.php @@ -111,10 +111,10 @@ interface InstallerInterface public function cleanup($type, PackageInterface $package, PackageInterface $prevPackage = null); /** - * Returns the installation path of a package + * Returns the absolute installation path of a package. * * @param PackageInterface $package - * @return string path to install to, which MUST not end with a slash + * @return string absolute path to install to, which MUST not end with a slash */ public function getInstallPath(PackageInterface $package); }