Skip to content

Commit

Permalink
Fix property not initialized error on jsonSerialize
Browse files Browse the repository at this point in the history
  • Loading branch information
voidgraphics committed Oct 11, 2024
1 parent 50bbf15 commit 76d2bd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Price.php
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Price implements \JsonSerializable
/**
* The VAT definition
*/
protected ?Vat $vat;
protected ?Vat $vat = null;

/**
* The price modifiers to apply
Expand Down

0 comments on commit 76d2bd9

Please sign in to comment.