From 9a63494fe46ce44bce650f383c25e88da4e5505c Mon Sep 17 00:00:00 2001 From: provokateurin Date: Sun, 15 Sep 2024 15:23:10 +0200 Subject: [PATCH] fix(Comment): Initialize childrenCount as integer Signed-off-by: provokateurin --- lib/private/Comments/Comment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/Comments/Comment.php b/lib/private/Comments/Comment.php index 3c44c02fe2e63..c67358cc854a0 100644 --- a/lib/private/Comments/Comment.php +++ b/lib/private/Comments/Comment.php @@ -16,7 +16,7 @@ class Comment implements IComment { 'id' => '', 'parentId' => '0', 'topmostParentId' => '0', - 'childrenCount' => '0', + 'childrenCount' => 0, 'message' => '', 'verb' => '', 'actorType' => '',