Skip to content

Commit

Permalink
Fix undefined class name
Browse files Browse the repository at this point in the history
  • Loading branch information
Jonathon Hill committed Jan 30, 2025
1 parent 80321fe commit 55f9914
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/TransactionBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -423,7 +423,7 @@ public function withLineTaxOverride($type, $reason, $taxAmount, $taxDate)
{
// Address the DateOverride constraint.
if (($type == TaxOverrideType::C_TAXDATE) && (empty($taxDate))) {
throw new Exception("A valid date is required for a Tax Date Tax Override.");
throw new \Exception("A valid date is required for a Tax Date Tax Override.");
}

$li = $this->getMostRecentLineIndex();
Expand Down

0 comments on commit 55f9914

Please sign in to comment.