Skip to content

Commit ed015cd

Browse files
committed
fix: Incremented NotSubject Breakdown items limit from 2 to 4
1 parent 46db221 commit ed015cd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Barnetik/Tbai/Invoice/Breakdown.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Breakdown implements TbaiXml
3333

3434
public function addNationalNotSubjectBreakdownItem(NationalNotSubjectBreakdownItem $notSubjectBreakdowItem): self
3535
{
36-
if (sizeof($this->nationalNotSubjectBreakdownItems) < 2) {
36+
if (sizeof($this->nationalNotSubjectBreakdownItems) < 4) {
3737
$this->nationalNotSubjectBreakdownItems[] = $notSubjectBreakdowItem;
3838
return $this;
3939
}
@@ -63,7 +63,7 @@ public function addNationalSubjectNotExemptBreakdownItem(NationalSubjectNotExemp
6363

6464
public function addForeignServiceNotSubjectBreakdownItem(ForeignServiceNotSubjectBreakdownItem $notSubjectBreakdowItem): self
6565
{
66-
if (sizeof($this->foreignServiceNotSubjectBreakdownItems) < 2) {
66+
if (sizeof($this->foreignServiceNotSubjectBreakdownItems) < 4) {
6767
$this->foreignServiceNotSubjectBreakdownItems[] = $notSubjectBreakdowItem;
6868
return $this;
6969
}
@@ -93,7 +93,7 @@ public function addForeignServiceSubjectNotExemptBreakdownItem(ForeignServiceSub
9393

9494
public function addForeignDeliveryNotSubjectBreakdownItem(ForeignDeliveryNotSubjectBreakdownItem $notSubjectBreakdowItem): self
9595
{
96-
if (sizeof($this->foreignDeliveryNotSubjectBreakdownItems) < 2) {
96+
if (sizeof($this->foreignDeliveryNotSubjectBreakdownItems) < 4) {
9797
$this->foreignDeliveryNotSubjectBreakdownItems[] = $notSubjectBreakdowItem;
9898
return $this;
9999
}

0 commit comments

Comments
 (0)