Skip to content

Commit

Permalink
Parse inserttag values to string
Browse files Browse the repository at this point in the history
  • Loading branch information
zoglo committed Jan 11, 2024
1 parent 4f187cc commit ff516d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EventListener/InsertTagsListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ private function replaceRealEstateInsertTags(string $insertTag, array $elements,

switch ($insertTag) {
case 'realestate':
return $realEstate->{$elements[1]} ?: '';
return (string) $realEstate->{$elements[1]} ?: '';
}

return '';
Expand Down

0 comments on commit ff516d6

Please sign in to comment.