From f4ec9fdcb573b077a7ee6b5606055e8237a46392 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Miguel=20Moreno?= Date: Sat, 14 Sep 2024 18:17:24 +0200 Subject: [PATCH] Removed unnecessary suppress comment - Updated Invoice class --- src/Invoice.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Invoice.php b/src/Invoice.php index e16a9c6..4eb5ddb 100644 --- a/src/Invoice.php +++ b/src/Invoice.php @@ -249,6 +249,7 @@ class Invoice { protected $issueDate = null; protected $dueDate = null; protected $taxPointDate = null; + /** @var string[] */ protected $notes = []; protected $buyerReference = null; protected $purchaseOrderReference = null; @@ -264,6 +265,7 @@ class Invoice { protected $payee = null; protected $delivery = null; protected $payment = null; + /** @var InvoiceLine[] */ protected $lines = []; use AllowanceOrChargeTrait; @@ -574,7 +576,6 @@ public function getNote(): ?string { * @see Invoice::addNote() */ public function setNote(?string $note): self { - // @phan-suppress-next-line PhanPartialTypeMismatchProperty $this->notes = ($note === null) ? [] : [$note]; return $this; }