Skip to content

Commit

Permalink
Simplify condition
Browse files Browse the repository at this point in the history
  • Loading branch information
sprain committed Nov 15, 2023
1 parent 7d42a70 commit 207bdda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/QrBill.php
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ private function getQrCodeContent(): string
private function getPossibleEmptyLine(): ?EmptyLine
{
if ($this->getAlternativeSchemes()) {
if (null === $this->getAdditionalInformation() || null === $this->getAdditionalInformation()->getBillInformation()) {
if (null === $this->getAdditionalInformation()?->getBillInformation()) {
return new EmptyLine();
}
}
Expand Down

0 comments on commit 207bdda

Please sign in to comment.