From bc157ebea90d79fa880b8ee9e027935b55d84cb4 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Wed, 20 Mar 2024 22:44:48 +0100 Subject: [PATCH] Fix phpdoc for new php-ext schema --- src/Composer/Package/Package.php | 4 ++-- src/Composer/Package/PackageInterface.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Composer/Package/Package.php b/src/Composer/Package/Package.php index e1b5755f1..8bcd6e60b 100644 --- a/src/Composer/Package/Package.php +++ b/src/Composer/Package/Package.php @@ -98,7 +98,7 @@ class Package extends BasePackage protected $isDefaultBranch = false; /** @var mixed[] */ protected $transportOptions = []; - /** @var array{priority?: int, config?: array}|null */ + /** @var array{priority?: int, configure-options?: list}|null */ protected $phpExt = null; /** @@ -595,7 +595,7 @@ class Package extends BasePackage /** * Sets the list of paths added to PHP's include path. * - * @param array{priority?: int, config?: array}|null $phpExt List of directories. + * @param array{priority?: int, configure-options?: list}|null $phpExt List of directories. */ public function setPhpExt(?array $phpExt): void { diff --git a/src/Composer/Package/PackageInterface.php b/src/Composer/Package/PackageInterface.php index a6af933b5..3583a323e 100644 --- a/src/Composer/Package/PackageInterface.php +++ b/src/Composer/Package/PackageInterface.php @@ -326,7 +326,7 @@ interface PackageInterface /** * Returns the settings for php extension packages * - * @return array{priority?: int, config?: array}|null + * @return array{priority?: int, configure-options?: list}|null */ public function getPhpExt(): ?array;