diff --git a/src/fbt/Runtime/Shared/InlineFbtResult.php b/src/fbt/Runtime/Shared/InlineFbtResult.php index fecc63e..18b4bd4 100644 --- a/src/fbt/Runtime/Shared/InlineFbtResult.php +++ b/src/fbt/Runtime/Shared/InlineFbtResult.php @@ -58,8 +58,8 @@ public function __construct( $this->contents = $contents; } - public function __toString() + public function __toString(): string { - return em($this->contents, $this->inlineMode, $this->translation, $this->hash); + return (string) em($this->contents, $this->inlineMode, $this->translation, $this->hash); } }