From 2de49d4f88caf4a036560d336a8e25ca30f25abe Mon Sep 17 00:00:00 2001 From: Till Schander <7063293+tillschander@users.noreply.github.com> Date: Tue, 8 Jul 2025 14:48:49 +0200 Subject: [PATCH] Remove duplicate rendering --- src/Pdf/View.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/Pdf/View.php b/src/Pdf/View.php index 5efaa49..5246533 100644 --- a/src/Pdf/View.php +++ b/src/Pdf/View.php @@ -96,9 +96,6 @@ public function toResponse($request): Response return $this->toDebugResponse(); } - $html = $this->view->render(); - $result = $this->pdf->render($html); - $cb = function () { echo $this->render(); };