Skip to content

Commit

Permalink
Fixed setting other correlated entities in InvoiceHeader.
Browse files Browse the repository at this point in the history
  • Loading branch information
firebed committed Jun 21, 2024
1 parent a3f131f commit 3f5250c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Models/InvoiceHeader.php
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ public function addOtherCorrelatedEntities(EntityType $entityType): static
*/
public function setOtherCorrelatedEntities(?array $entities): static
{
return $this->push('otherCorrelatedEntities', $entities);
return $this->set('otherCorrelatedEntities', $entities);
}

/**
Expand Down

0 comments on commit 3f5250c

Please sign in to comment.