fix phpstan errors level 2

This commit is contained in:
2024-04-23 20:52:22 +02:00
parent ed3e0f889e
commit dcc285e976
21 changed files with 50 additions and 67 deletions

View File

@@ -102,7 +102,7 @@ class CSPersonController extends OneToOneEntityPersonCRUDController
};
}
protected function getTemplateFor($action, $entity, Request $request)
protected function getTemplateFor($action, $entity, Request $request): string
{
switch ($action) {
case 'ps_situation_edit':
@@ -114,7 +114,7 @@ class CSPersonController extends OneToOneEntityPersonCRUDController
case 'dispositifs_view':
return '@ChillJob/CSPerson/dispositifs_view.html.twig';
default:
parent::getTemplateFor($action, $entity, $request);
return parent::getTemplateFor($action, $entity, $request);
}
}