code style

This commit is contained in:
2021-12-04 01:14:37 +01:00
parent 063ceb2c53
commit 51fd81c661
3 changed files with 27 additions and 23 deletions

View File

@@ -115,7 +115,7 @@ final class DocGeneratorTemplateController extends AbstractController
} elseif (!$form->isSubmitted() || ($form->isSubmitted() && !$form->isValid())) {
$templatePath = '@ChillDocGenerator/Generator/basic_form.html.twig';
$templateOptions = ['entity' => $entity, 'form' => $form->createView(),
'template' => $template, 'context' => $context];
'template' => $template, 'context' => $context, ];
return $this->render($templatePath, $templateOptions);
}