Fix signature for OneToOne CRUD Controller

This commit is contained in:
2023-09-28 11:53:07 +02:00
parent 5f8b86b839
commit 8dce0473ff

View File

@@ -22,7 +22,7 @@ use Symfony\Component\HttpFoundation\Response;
class OneToOneEntityPersonCRUDController extends CRUDController
{
protected function generateRedirectOnCreateRoute($action, Request $request, $entity): never
protected function generateRedirectOnCreateRoute($action, Request $request, $entity): string
{
throw new BadMethodCallException('Not implemented yet.');
}