Skip to content

Commit 207bdda

Browse files
committed
Simplify condition
1 parent 7d42a70 commit 207bdda

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/QrBill.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,7 @@ private function getQrCodeContent(): string
202202
private function getPossibleEmptyLine(): ?EmptyLine
203203
{
204204
if ($this->getAlternativeSchemes()) {
205-
if (null === $this->getAdditionalInformation() || null === $this->getAdditionalInformation()->getBillInformation()) {
205+
if (null === $this->getAdditionalInformation()?->getBillInformation()) {
206206
return new EmptyLine();
207207
}
208208
}

0 commit comments

Comments
 (0)