Skip to content

Commit

Permalink
Fixed the possible nullable values typecasting to string.
Browse files Browse the repository at this point in the history
  • Loading branch information
ruslanbaidan committed Sep 13, 2024
1 parent e26725f commit b55092a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Entity/SoaScaleComment.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public function __construct()

public function getComment(): string
{
return $this->comment;
return (string)$this->comment;
}

public function setComment(string $comment): self
Expand Down

0 comments on commit b55092a

Please sign in to comment.