Skip to content

Commit

Permalink
Renamed ZugferdDocumentAbstractPdfBuilder to ZugferdDocumentPdfBuilde…
Browse files Browse the repository at this point in the history
…rAbstract
  • Loading branch information
HorstOeko committed Aug 18, 2023
1 parent be26511 commit 04aeb4f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions src/ZugferdDocumentPdfBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

namespace horstoeko\zugferd;

use horstoeko\zugferd\ZugferdDocumentAbstractPdfBuilder;
use horstoeko\zugferd\ZugferdDocumentPdfBuilderAbstract;
use horstoeko\zugferd\ZugferdDocumentBuilder;

/**
Expand All @@ -22,7 +22,7 @@
* @license https://opensource.org/licenses/MIT MIT
* @link https://github.com/horstoeko/zugferd
*/
class ZugferdDocumentPdfBuilder extends ZugferdDocumentAbstractPdfBuilder
class ZugferdDocumentPdfBuilder extends ZugferdDocumentPdfBuilderAbstract
{
/**
* Internal reference to the xml builder instance
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
* @license https://opensource.org/licenses/MIT MIT
* @link https://github.com/horstoeko/zugferd
*/
abstract class ZugferdDocumentAbstractPdfBuilder
abstract class ZugferdDocumentPdfBuilderAbstract
{
/**
* Instance of the pdfwriter
Expand Down Expand Up @@ -62,9 +62,9 @@ public function __construct(string $pdfData)
/**
* Generates the final document
*
* @return ZugferdDocumentAbstractPdfBuilder
* @return static
*/
public function generateDocument(): ZugferdDocumentAbstractPdfBuilder
public function generateDocument(): static
{
$this->startCreatePdf();

Expand All @@ -77,9 +77,9 @@ public function generateDocument(): ZugferdDocumentAbstractPdfBuilder
* @param string $toFilename
* The full qualified filename to which the generated PDF (with attachment)
* is stored
* @return ZugferdDocumentAbstractPdfBuilder
* @return static
*/
public function saveDocument(string $toFilename): ZugferdDocumentAbstractPdfBuilder
public function saveDocument(string $toFilename): static
{
$this->pdfWriter->Output($toFilename, 'F');

Expand Down
4 changes: 2 additions & 2 deletions src/ZugferdDocumentPdfMerger.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use Exception;
use SimpleXMLElement;
use horstoeko\zugferd\ZugferdProfiles;
use horstoeko\zugferd\ZugferdDocumentAbstractPdfBuilder;
use horstoeko\zugferd\ZugferdDocumentPdfBuilderAbstract;

/**
* Class representing the facillity adding existing XML data (file or data-string)
Expand All @@ -24,7 +24,7 @@
* @license https://opensource.org/licenses/MIT MIT
* @link https://github.com/horstoeko/zugferd
*/
class ZugferdDocumentPdfMerger extends ZugferdDocumentAbstractPdfBuilder
class ZugferdDocumentPdfMerger extends ZugferdDocumentPdfBuilderAbstract
{
/**
* Internal reference to the xml data (file or data-string)
Expand Down

0 comments on commit 04aeb4f

Please sign in to comment.