From 1600e6e385207cc44463ae755934ad8c1c218ae8 Mon Sep 17 00:00:00 2001 From: Daniel Formela Date: Thu, 1 Jul 2021 16:56:48 +0200 Subject: [PATCH] remove doctrine common persistance --- src/Fixture/Factory/CalloutExampleFactory.php | 2 +- src/Message/Handler/AssignEligibleCalloutsToProductHandler.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Fixture/Factory/CalloutExampleFactory.php b/src/Fixture/Factory/CalloutExampleFactory.php index 2bd964b..656d8a8 100644 --- a/src/Fixture/Factory/CalloutExampleFactory.php +++ b/src/Fixture/Factory/CalloutExampleFactory.php @@ -4,7 +4,7 @@ namespace Setono\SyliusCalloutPlugin\Fixture\Factory; -use Doctrine\Common\Persistence\ObjectManager; +use Doctrine\Persistence\ObjectManager; use Faker\Factory; use Safe\DateTime; use Setono\SyliusCalloutPlugin\Model\Callout; diff --git a/src/Message/Handler/AssignEligibleCalloutsToProductHandler.php b/src/Message/Handler/AssignEligibleCalloutsToProductHandler.php index 919f7f7..37f2373 100644 --- a/src/Message/Handler/AssignEligibleCalloutsToProductHandler.php +++ b/src/Message/Handler/AssignEligibleCalloutsToProductHandler.php @@ -4,7 +4,7 @@ namespace Setono\SyliusCalloutPlugin\Message\Handler; -use Doctrine\Common\Persistence\ObjectManager; +use Doctrine\Persistence\ObjectManager; use Setono\SyliusCalloutPlugin\Callout\Provider\EligibleCalloutsProviderInterface; use Setono\SyliusCalloutPlugin\Message\Command\AssignEligibleCalloutsToProduct; use Setono\SyliusCalloutPlugin\Model\ProductInterface;