Merge branch 'stable'

This commit is contained in:
2020-04-21 13:31:07 +02:00
2 changed files with 7 additions and 2 deletions

View File

@@ -83,7 +83,7 @@ class ChillEntityRenderExtension extends AbstractExtension
$this->renders[] = $render;
}
protected function getRender($entity, $options): ChillEntityRenderInterface
protected function getRender($entity, $options): ?ChillEntityRenderInterface
{
foreach ($this->renders as $render) {
if ($render->supports($entity, $options)) {