From 35d94c680f8227133d44417037205e491ca0be2e Mon Sep 17 00:00:00 2001 From: Armino Popp Date: Thu, 10 Oct 2024 13:36:45 +0300 Subject: [PATCH] Update Comment.php On PHP >= 8.2 Allow comment to have renderedBody property correctly set upon deserialization. --- src/Issue/Comment.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Issue/Comment.php b/src/Issue/Comment.php index b7b0b16..67b2577 100644 --- a/src/Issue/Comment.php +++ b/src/Issue/Comment.php @@ -18,6 +18,9 @@ class Comment implements \JsonSerializable /** @var string */ public $body; + /** @var string */ + public $renderedBody; + /** @var \JiraRestApi\Issue\Reporter */ public $updateAuthor;