Skip to content

Commit

Permalink
Fixes for tax rate provider after PR review
Browse files Browse the repository at this point in the history
  • Loading branch information
GSadee committed Jan 31, 2020
1 parent 146c371 commit 6af2b26
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
use Sylius\Component\Core\Model\OrderItemUnitInterface;
use Sylius\RefundPlugin\Provider\TaxRateProviderInterface;

final class TaxRateProviderSpec extends ObjectBehavior
final class LabelBasedTaxRateProviderSpec extends ObjectBehavior
{
function it_implements_tax_rate_provider_interface(): void
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Sylius\Component\Core\Model\AdjustmentInterface;
use Sylius\Component\Core\Model\OrderItemUnitInterface;

final class TaxRateProvider implements TaxRateProviderInterface
final class LabelBasedTaxRateProvider implements TaxRateProviderInterface
{
public function provide(OrderItemUnitInterface $orderItemUnit): ?string
{
Expand Down
2 changes: 1 addition & 1 deletion src/Resources/config/services/provider.xml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@

<service
id="Sylius\RefundPlugin\Provider\TaxRateProviderInterface"
class="Sylius\RefundPlugin\Provider\TaxRateProvider"
class="Sylius\RefundPlugin\Provider\LabelBasedTaxRateProvider"
/>
</services>
</container>

0 comments on commit 6af2b26

Please sign in to comment.