Skip to content

Commit

Permalink
Removed the unnecessary getPriceWithoutTaxes method from the Taxabl…
Browse files Browse the repository at this point in the history
…e interface
  • Loading branch information
fulopattila122 committed Feb 9, 2024
1 parent 1648672 commit a500ca3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions src/Taxes/Contracts/Taxable.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,4 @@
interface Taxable
{
public function getTaxCategory(): TaxCategory;

public function getPriceWithoutTaxes(): float;
}
5 changes: 0 additions & 5 deletions src/Taxes/Tests/Dummies/SampleTaxable.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,4 @@ public function getTaxCategory(): TaxCategory
{
return \Vanilo\Taxes\Models\TaxCategory::create(['name' => 'normal']);
}

public function getPriceWithoutTaxes(): float
{
return 10;
}
}

0 comments on commit a500ca3

Please sign in to comment.