Skip to content

Commit

Permalink
fix: Fix the parsing problem of subObject annotation properties
Browse files Browse the repository at this point in the history
  • Loading branch information
huanglonghui committed Jun 5, 2024
1 parent 98b72a2 commit ab59eb5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Attributes/Param.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -312,4 +313,4 @@ public function jsonSerialize(): mixed
'parentStack'=>$this->parentStack
];
}
}
}

0 comments on commit ab59eb5

Please sign in to comment.