remove isset test on variable which always exists

This commit is contained in:
Julien Fastré 2022-05-02 12:30:16 +02:00
parent eb2bc306f7
commit 0ec859e345

View File

@ -140,7 +140,7 @@ class ReassignAccompanyingPeriodController extends AbstractController
'paginator' => $paginator,
'periods' => $periods,
'form' => $form->createView(),
'assignForm' => isset($assignForm) ? $assignForm->createView() : null,
'assignForm' => $assignForm->createView(),
])
);
}