From 7a49cda9f6d22389b75969baff814bb1ad265998 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A4nz=20Friederes?= Date: Wed, 16 Sep 2020 20:13:20 +0200 Subject: [PATCH] Fix PHPDoc types on new PreFileDownloadEvent property --- src/Composer/Plugin/PreFileDownloadEvent.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Composer/Plugin/PreFileDownloadEvent.php b/src/Composer/Plugin/PreFileDownloadEvent.php index 318558c20..0f83b3178 100644 --- a/src/Composer/Plugin/PreFileDownloadEvent.php +++ b/src/Composer/Plugin/PreFileDownloadEvent.php @@ -33,7 +33,7 @@ class PreFileDownloadEvent extends Event private $processedUrl; /** - * @var string + * @var string|null */ private $customCacheKey; @@ -96,7 +96,7 @@ class PreFileDownloadEvent extends Event /** * Retrieves a custom package cache key for this download. * - * @return string + * @return string|null */ public function getCustomCacheKey() { @@ -106,7 +106,7 @@ class PreFileDownloadEvent extends Event /** * Sets a custom package cache key for this download. * - * @param string $customCacheKey New cache key + * @param string|null $customCacheKey New cache key */ public function setCustomCacheKey($customCacheKey) {