From 2a7541a35f00499c206391273f30159dc2c7072a Mon Sep 17 00:00:00 2001 From: HorstOeko Date: Fri, 18 Aug 2023 05:05:43 +0200 Subject: [PATCH] Fix ZugferdDocumentPdfBuilderAbstract --- src/ZugferdDocumentPdfBuilderAbstract.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ZugferdDocumentPdfBuilderAbstract.php b/src/ZugferdDocumentPdfBuilderAbstract.php index 9bd76b60..ae18992a 100644 --- a/src/ZugferdDocumentPdfBuilderAbstract.php +++ b/src/ZugferdDocumentPdfBuilderAbstract.php @@ -62,9 +62,9 @@ public function __construct(string $pdfData) /** * Generates the final document * - * @return static + * @return self */ - public function generateDocument(): static + public function generateDocument() { $this->startCreatePdf(); @@ -77,9 +77,9 @@ public function generateDocument(): static * @param string $toFilename * The full qualified filename to which the generated PDF (with attachment) * is stored - * @return static + * @return self */ - public function saveDocument(string $toFilename): static + public function saveDocument(string $toFilename) { $this->pdfWriter->Output($toFilename, 'F');