From f363eeef664904b621f876e4ae8598181bbe65f3 Mon Sep 17 00:00:00 2001 From: Thomas Picquet <thomas@sctr.net> Date: Fri, 28 Jan 2022 07:40:09 -0800 Subject: [PATCH] set value key --- Annotation/Areas.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Annotation/Areas.php b/Annotation/Areas.php index b81272f..8e8d588 100644 --- a/Annotation/Areas.php +++ b/Annotation/Areas.php @@ -23,7 +23,7 @@ final class Areas public function __construct(array $properties) { if (!array_key_exists('value', $properties) || !is_array($properties['value'])) { - $properties = array_values($properties); + $properties['value'] = array_values($properties); } if ([] === $properties) {