diff --git a/CRUD/Controller/EntityPersonCRUDController.php b/CRUD/Controller/EntityPersonCRUDController.php index 54ae006ee..2cdad7f5b 100644 --- a/CRUD/Controller/EntityPersonCRUDController.php +++ b/CRUD/Controller/EntityPersonCRUDController.php @@ -40,6 +40,7 @@ class EntityPersonCRUDController extends CRUDController * * @param Request $request * @throws Symfony\Component\HttpKernel\Exception\NotFoundHttpException if the person with given id is not found + * @return Person|null */ protected function getPerson(Request $request): ?Person { diff --git a/Resources/views/CRUD/_edit_content.html.twig b/Resources/views/CRUD/_edit_content.html.twig new file mode 100644 index 000000000..f3ac9a860 --- /dev/null +++ b/Resources/views/CRUD/_edit_content.html.twig @@ -0,0 +1,63 @@ +