Skip to content

Commit

Permalink
Fix type
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick477 committed Jul 6, 2018
1 parent 886e5fe commit 78217a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Twig/Extension/RenderContentExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function getFunctions(): array

public function renderContent(ContentableInterface $contentableResource): string
{
$content = (string) html_entity_decode($contentableResource->getContent(), ENT_QUOTES);
$content = (string) html_entity_decode((string) $contentableResource->getContent(), ENT_QUOTES);

return $this->contentParser->parse($content);
}
Expand Down

0 comments on commit 78217a4

Please sign in to comment.