Skip to content

Commit

Permalink
refactor #310 Replace deprecated twig extension (Tomanhez)
Browse files Browse the repository at this point in the history
This PR was merged into the 1.0-dev branch.

Discussion
----------



Commits
-------

79c3db2 Replace deprecated twig extension
  • Loading branch information
GSadee authored Jun 14, 2021
2 parents 68ecef0 + 79c3db2 commit a38bf25
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Twig/OrderRefundsExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit a38bf25

Please sign in to comment.