From 420f81ea248e3e3a8b1e07a42edeb9d3a2f8dd0b Mon Sep 17 00:00:00 2001 From: Julie Lenaerts Date: Fri, 21 Jan 2022 13:05:38 +0100 Subject: [PATCH] fix phpstan error --- .../ChillPersonBundle/Templating/Entity/ResourceKindRender.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Bundle/ChillPersonBundle/Templating/Entity/ResourceKindRender.php b/src/Bundle/ChillPersonBundle/Templating/Entity/ResourceKindRender.php index d6435e345..377df38b0 100644 --- a/src/Bundle/ChillPersonBundle/Templating/Entity/ResourceKindRender.php +++ b/src/Bundle/ChillPersonBundle/Templating/Entity/ResourceKindRender.php @@ -42,6 +42,8 @@ final class ResourceKindRender implements ChillEntityRenderInterface $title = $this->translatableStringHelper->localize($entity->getTitle()); return $title; } + + return $title; } public function supports($entity, array $options): bool