Skip to content

Commit

Permalink
Change return type from self to static in abstract class
Browse files Browse the repository at this point in the history
  • Loading branch information
sprain committed Oct 1, 2023
1 parent 3a751dc commit b9308cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/PaymentPart/Output/AbstractOutput.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function getLanguage(): ?string
return $this->language;
}

public function setPrintable(bool $printable): self
public function setPrintable(bool $printable): static
{
$this->printable = $printable;

Expand All @@ -46,7 +46,7 @@ public function isPrintable(): bool
return $this->printable;
}

public function setQrCodeImageFormat(string $fileExtension): self
public function setQrCodeImageFormat(string $fileExtension): static
{
$this->qrCodeImageFormat = $fileExtension;

Expand Down

0 comments on commit b9308cd

Please sign in to comment.