diff --git a/src/QrBill.php b/src/QrBill.php index d5fb50e..477face 100644 --- a/src/QrBill.php +++ b/src/QrBill.php @@ -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(); } }