@@ -19,9 +19,9 @@ |
||
| 19 | 19 | use Symfony\Component\Console\Output\OutputInterface; |
| 20 | 20 | use Symfony\Component\Console\Question\Question; |
| 21 | 21 | use Symfony\Component\Console\Style\SymfonyStyle; |
| 22 | +use Symfony\Component\Validator\ConstraintViolationListInterface; |
|
| 22 | 23 | use Symfony\Component\Validator\Constraints\Email; |
| 23 | 24 | use Symfony\Component\Validator\Constraints\NotBlank; |
| 24 | -use Symfony\Component\Validator\ConstraintViolationListInterface; |
|
| 25 | 25 | use Webmozart\Assert\Assert; |
| 26 | 26 | |
| 27 | 27 | final class SetupCommand extends AbstractInstallCommand |
@@ -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 | { |