From ab59eb5c69163091f8d15c44fde6a034672c7e21 Mon Sep 17 00:00:00 2001 From: huanglonghui Date: Wed, 5 Jun 2024 16:02:33 +0800 Subject: [PATCH] fix: Fix the parsing problem of subObject annotation properties --- src/Attributes/Param.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Attributes/Param.php b/src/Attributes/Param.php index 5db23b0..ebed651 100644 --- a/src/Attributes/Param.php +++ b/src/Attributes/Param.php @@ -267,6 +267,7 @@ function __clone() $temp = []; /** @var Param $item */ foreach ($this->subObject as $item){ + $item->isParsed = false; $temp[$item->name] = $item; } $this->subObject = $temp; @@ -312,4 +313,4 @@ public function jsonSerialize(): mixed 'parentStack'=>$this->parentStack ]; } -} \ No newline at end of file +}