Skip to content

Commit

Permalink
Fix ZugferdDocumentPdfBuilderAbstract
Browse files Browse the repository at this point in the history
  • Loading branch information
HorstOeko committed Aug 18, 2023
1 parent 04aeb4f commit 2a7541a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ZugferdDocumentPdfBuilderAbstract.php
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand All @@ -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');

Expand Down

0 comments on commit 2a7541a

Please sign in to comment.