mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-09-02 21:13:57 +00:00
Merge branch 'stable'
This commit is contained in:
@@ -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)) {
|
||||
|
Reference in New Issue
Block a user