Skip to content

Commit

Permalink
Fix return type in FpdfOutput
Browse files Browse the repository at this point in the history
  • Loading branch information
sprain committed Oct 1, 2023
1 parent 16ad50e commit f736e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PaymentPart/Output/FpdfOutput/FpdfOutput.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ public function getPaymentPart(): void
$this->addFurtherInformationContent();
}

public function setQrCodeImageFormat(string $fileExtension): AbstractOutput
public function setQrCodeImageFormat(string $fileExtension): static
{
if (QrCode::FILE_FORMAT_SVG === $fileExtension) {
throw new InvalidFpdfImageFormat('SVG images are not allowed by FPDF.');
Expand Down

0 comments on commit f736e3b

Please sign in to comment.