Skip to content

Commit

Permalink
Type fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Jan 12, 2024
1 parent f69b531 commit 86e7e82
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Entity/Version.php
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ class Version
private array $authors = [];

/**
* @var array<array{priority?: int, config?: array<string, bool>}>
* @var array{priority?: int, config?: array<string, bool>}|null
*/
#[ORM\Column(type: 'json', options: ['default' => null], nullable: true)]
private array|null $phpExt = null;
Expand Down Expand Up @@ -672,15 +672,15 @@ public function setAuthors(array $authors): void
}

/**
* @return array<array{priority?: int, config?: array<string, bool>}>|null
* @return array{priority?: int, config?: array<string, bool>}|null
*/
public function getPhpExt(): array|null
{
return $this->phpExt;
}

/**
* @param array<array{priority?: int, config?: array<string, bool>}>|null $phpExt
* @param array{priority?: int, config?: array<string, bool>}|null $phpExt
*/
public function setPhpExt(array|null $phpExt): void
{
Expand Down

0 comments on commit 86e7e82

Please sign in to comment.