Working : Refactor adapter into facade
This commit is contained in:
@@ -5,7 +5,7 @@ use Thelia\Condition\Implementation\MatchForEveryoneManager;
|
||||
use Thelia\Condition\Implementation\MatchForTotalAmountManager;
|
||||
use Thelia\Condition\Implementation\MatchForXArticlesManager;
|
||||
use Thelia\Condition\Operators;
|
||||
use Thelia\Coupon\AdapterInterface;
|
||||
use Thelia\Coupon\FacadeInterface;
|
||||
use Thelia\Coupon\ConditionCollection;
|
||||
|
||||
|
||||
@@ -644,7 +644,7 @@ function generateCouponFixtures(\Thelia\Core\Thelia $thelia)
|
||||
{
|
||||
/** @var $container ContainerInterface Service Container */
|
||||
$container = $thelia->getContainer();
|
||||
/** @var AdapterInterface $adapter */
|
||||
/** @var FacadeInterface $adapter */
|
||||
$adapter = $container->get('thelia.adapter');
|
||||
|
||||
// Coupons
|
||||
|
||||
Reference in New Issue
Block a user