@@ -13,8 +13,8 @@ |
||
13 | 13 | |
14 | 14 | require_once __DIR__.'/AppKernel.php'; |
15 | 15 | |
16 | -use ProxyManager\Proxy\VirtualProxyInterface; |
|
17 | 16 | use PSS\SymfonyMockerContainer\DependencyInjection\MockerContainer; |
17 | +use ProxyManager\Proxy\VirtualProxyInterface; |
|
18 | 18 | use Symfony\Component\DependencyInjection\ContainerInterface; |
19 | 19 | |
20 | 20 | class TestAppKernel extends AppKernel |
@@ -17,8 +17,8 @@ |
||
17 | 17 | use Sylius\Component\Channel\Model\ChannelsAwareInterface; |
18 | 18 | use Sylius\Component\Product\Model\ProductInterface as BaseProductInterface; |
19 | 19 | use Sylius\Component\Resource\Model\TranslationInterface; |
20 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
21 | 20 | use Sylius\Component\Review\Model\ReviewInterface; |
21 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
22 | 22 | |
23 | 23 | interface ProductInterface extends |
24 | 24 | BaseProductInterface, |
@@ -14,10 +14,9 @@ |
||
14 | 14 | namespace Sylius\Bundle\ReviewBundle\Updater; |
15 | 15 | |
16 | 16 | use Doctrine\Common\Persistence\ObjectManager; |
17 | -use Doctrine\ORM\EntityManager; |
|
18 | 17 | use Sylius\Component\Review\Calculator\ReviewableRatingCalculatorInterface; |
19 | -use Sylius\Component\Review\Model\ReviewableInterface; |
|
20 | 18 | use Sylius\Component\Review\Model\ReviewInterface; |
19 | +use Sylius\Component\Review\Model\ReviewableInterface; |
|
21 | 20 | |
22 | 21 | class AverageRatingUpdater implements ReviewableRatingUpdaterInterface |
23 | 22 | { |