From 8246892d484273a0f3c46e2d4f1d217628d5e31f Mon Sep 17 00:00:00 2001 From: Quynh Anh <152064901+lqat@users.noreply.github.com> Date: Thu, 4 Jan 2024 14:49:27 +0100 Subject: [PATCH] Fix PackageInterface parameter comments (#11777) --- src/Composer/Downloader/DvcsDownloaderInterface.php | 2 +- src/Composer/Downloader/FileDownloader.php | 2 +- src/Composer/Downloader/VcsCapableDownloaderInterface.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Composer/Downloader/DvcsDownloaderInterface.php b/src/Composer/Downloader/DvcsDownloaderInterface.php index 879aab2ed..6e5b67c0a 100644 --- a/src/Composer/Downloader/DvcsDownloaderInterface.php +++ b/src/Composer/Downloader/DvcsDownloaderInterface.php @@ -24,7 +24,7 @@ interface DvcsDownloaderInterface /** * Checks for unpushed changes to a current branch * - * @param PackageInterface $package package directory + * @param PackageInterface $package package instance * @param string $path package directory * @return string|null changes or null */ diff --git a/src/Composer/Downloader/FileDownloader.php b/src/Composer/Downloader/FileDownloader.php index 0c989a82d..2a2847f33 100644 --- a/src/Composer/Downloader/FileDownloader.php +++ b/src/Composer/Downloader/FileDownloader.php @@ -458,7 +458,7 @@ class FileDownloader implements DownloaderInterface, ChangeReportInterface /** * Process the download url * - * @param PackageInterface $package package the url is coming from + * @param PackageInterface $package package instance * @param non-empty-string $url download url * @throws \RuntimeException If any problem with the url * @return non-empty-string url diff --git a/src/Composer/Downloader/VcsCapableDownloaderInterface.php b/src/Composer/Downloader/VcsCapableDownloaderInterface.php index 879170276..c99005aa4 100644 --- a/src/Composer/Downloader/VcsCapableDownloaderInterface.php +++ b/src/Composer/Downloader/VcsCapableDownloaderInterface.php @@ -24,7 +24,7 @@ interface VcsCapableDownloaderInterface /** * Gets the VCS Reference for the package at path * - * @param PackageInterface $package package directory + * @param PackageInterface $package package instance * @param string $path package directory * @return string|null reference or null */