From 819f62aa644d00a3352d87304c0476bd30c9b266 Mon Sep 17 00:00:00 2001 From: Ruslan Baidan Date: Thu, 22 Aug 2024 16:46:22 +0200 Subject: [PATCH] Fixed the nullable op risks scale comment issue. --- src/Entity/OperationalRiskScaleComment.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Entity/OperationalRiskScaleComment.php b/src/Entity/OperationalRiskScaleComment.php index 3558696c..3a6ab04f 100644 --- a/src/Entity/OperationalRiskScaleComment.php +++ b/src/Entity/OperationalRiskScaleComment.php @@ -28,7 +28,7 @@ class OperationalRiskScaleComment extends OperationalRiskScaleCommentSuperClass public function getComment(): string { - return $this->comment; + return (string)$this->comment; } public function setComment(string $comment): self