From a500ca3a46c0def573db23ca39924cedd65a1333 Mon Sep 17 00:00:00 2001 From: Attila Fulop <1162360+fulopattila122@users.noreply.github.com> Date: Fri, 9 Feb 2024 11:02:05 +0200 Subject: [PATCH] Removed the unnecessary `getPriceWithoutTaxes` method from the Taxable interface --- src/Taxes/Contracts/Taxable.php | 2 -- src/Taxes/Tests/Dummies/SampleTaxable.php | 5 ----- 2 files changed, 7 deletions(-) diff --git a/src/Taxes/Contracts/Taxable.php b/src/Taxes/Contracts/Taxable.php index 2baf5d2f8..41daf2e29 100644 --- a/src/Taxes/Contracts/Taxable.php +++ b/src/Taxes/Contracts/Taxable.php @@ -17,6 +17,4 @@ interface Taxable { public function getTaxCategory(): TaxCategory; - - public function getPriceWithoutTaxes(): float; } diff --git a/src/Taxes/Tests/Dummies/SampleTaxable.php b/src/Taxes/Tests/Dummies/SampleTaxable.php index 93faf0205..9027ff6b4 100644 --- a/src/Taxes/Tests/Dummies/SampleTaxable.php +++ b/src/Taxes/Tests/Dummies/SampleTaxable.php @@ -23,9 +23,4 @@ public function getTaxCategory(): TaxCategory { return \Vanilo\Taxes\Models\TaxCategory::create(['name' => 'normal']); } - - public function getPriceWithoutTaxes(): float - { - return 10; - } }