[chill entity render] fix usage of default entity rendering

This commit is contained in:
2020-03-26 13:13:50 +01:00
parent a5c9562a4b
commit d5e9747e80
3 changed files with 16 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ class ChillEntityRender extends AbstractChillEntityRender
public function renderString($entity, array $options): string
{
return $entity;
return (string) $entity;
}
public function supports($entity, array $options): bool