From 79c3db2d25e12c807ec53be414f6a58cc07264b8 Mon Sep 17 00:00:00 2001 From: Tomanhez Date: Fri, 11 Jun 2021 11:15:41 +0200 Subject: [PATCH] Replace deprecated twig extension --- src/Twig/OrderRefundsExtension.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Twig/OrderRefundsExtension.php b/src/Twig/OrderRefundsExtension.php index 8d48cfa4..867686d8 100644 --- a/src/Twig/OrderRefundsExtension.php +++ b/src/Twig/OrderRefundsExtension.php @@ -20,9 +20,10 @@ use Sylius\RefundPlugin\Model\RefundType; use Sylius\RefundPlugin\Provider\OrderRefundedTotalProviderInterface; use Sylius\RefundPlugin\Provider\UnitRefundedTotalProviderInterface; +use Twig\Extension\AbstractExtension; use Twig\TwigFunction; -final class OrderRefundsExtension extends \Twig_Extension +final class OrderRefundsExtension extends AbstractExtension { /** @var OrderRefundedTotalProviderInterface */ private $orderRefundedTotalProvider;