Skip to content

Commit

Permalink
Fix phpdoc for new php-ext schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Mar 20, 2024
1 parent 07fa425 commit bc157eb
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/Composer/Package/Package.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ class Package extends BasePackage
protected $isDefaultBranch = false;
/** @var mixed[] */
protected $transportOptions = [];
/** @var array{priority?: int, config?: array<string, bool>}|null */
/** @var array{priority?: int, configure-options?: list<array{name: string, description?: string}>}|null */
protected $phpExt = null;

/**
Expand Down Expand Up @@ -595,7 +595,7 @@ public function getIncludePaths(): array
/**
* Sets the list of paths added to PHP's include path.
*
* @param array{priority?: int, config?: array<string, bool>}|null $phpExt List of directories.
* @param array{priority?: int, configure-options?: list<array{name: string, description?: string}>}|null $phpExt List of directories.
*/
public function setPhpExt(?array $phpExt): void
{
Expand Down
2 changes: 1 addition & 1 deletion src/Composer/Package/PackageInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -326,7 +326,7 @@ public function getIncludePaths(): array;
/**
* Returns the settings for php extension packages
*
* @return array{priority?: int, config?: array<string, bool>}|null
* @return array{priority?: int, configure-options?: list<array{name: string, description?: string}>}|null
*/
public function getPhpExt(): ?array;

Expand Down

0 comments on commit bc157eb

Please sign in to comment.