From 31b4ae468b50acd17f44469995c1b420722d86a9 Mon Sep 17 00:00:00 2001 From: Sebastian Blank Date: Fri, 28 Jun 2024 09:46:49 +0200 Subject: [PATCH 1/2] Remove unnecessary php docs --- src/Controller/DefaultController.php | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/Controller/DefaultController.php b/src/Controller/DefaultController.php index dd8fc7603..21871dbc5 100644 --- a/src/Controller/DefaultController.php +++ b/src/Controller/DefaultController.php @@ -9,11 +9,6 @@ class DefaultController extends FrontendController { - /** - * @param Request $request - * - * @return Response - */ public function defaultAction(Request $request): Response { return $this->render('default/default.html.twig'); From 8267b6cfea8ad4df0e657122d7c9fe925717459e Mon Sep 17 00:00:00 2001 From: Sebastian Blank Date: Fri, 28 Jun 2024 09:47:49 +0200 Subject: [PATCH 2/2] Update Web2printController.php --- src/Controller/Web2printController.php | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/Controller/Web2printController.php b/src/Controller/Web2printController.php index 9c15010b9..35542d5bb 100644 --- a/src/Controller/Web2printController.php +++ b/src/Controller/Web2printController.php @@ -22,12 +22,7 @@ class Web2printController extends FrontendController { - /** - * @param Request $request - * - * @return Response - */ - public function defaultAction(Request $request) + public function defaultAction(Request $request): Response { $paramsBag = [ 'document' => $this->document @@ -47,13 +42,9 @@ public function defaultAction(Request $request) } /** - * @param Request $request - * - * @return Response - * * @throws \Exception */ - public function containerAction(Request $request) + public function containerAction(Request $request): Response { $paramsBag = [ 'document' => $this->document