mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-08-30 03:23:48 +00:00
fix phpstan errors level 2
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user