From 86e7e822bb4b6d91d82a17eb497b9ceb9ca21c6b Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Fri, 12 Jan 2024 11:07:58 +0100 Subject: [PATCH] Type fixes --- src/Entity/Version.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Entity/Version.php b/src/Entity/Version.php index 06705ba3e..c76d86624 100644 --- a/src/Entity/Version.php +++ b/src/Entity/Version.php @@ -204,7 +204,7 @@ class Version private array $authors = []; /** - * @var array}> + * @var array{priority?: int, config?: array}|null */ #[ORM\Column(type: 'json', options: ['default' => null], nullable: true)] private array|null $phpExt = null; @@ -672,7 +672,7 @@ public function setAuthors(array $authors): void } /** - * @return array}>|null + * @return array{priority?: int, config?: array}|null */ public function getPhpExt(): array|null { @@ -680,7 +680,7 @@ public function getPhpExt(): array|null } /** - * @param array}>|null $phpExt + * @param array{priority?: int, config?: array}|null $phpExt */ public function setPhpExt(array|null $phpExt): void {