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;