@@ -13,13 +13,13 @@ |
||
| 13 | 13 | |
| 14 | 14 | use Sylius\Bundle\ProductBundle\Form\Type\ProductAssociationType; |
| 15 | 15 | use Sylius\Bundle\ProductBundle\Form\Type\ProductAssociationTypeType; |
| 16 | +use Sylius\Bundle\ProductBundle\Form\Type\ProductGenerateVariantsType; |
|
| 16 | 17 | use Sylius\Bundle\ProductBundle\Form\Type\ProductOptionTranslationType; |
| 17 | 18 | use Sylius\Bundle\ProductBundle\Form\Type\ProductOptionType; |
| 18 | 19 | use Sylius\Bundle\ProductBundle\Form\Type\ProductOptionValueTranslationType; |
| 19 | 20 | use Sylius\Bundle\ProductBundle\Form\Type\ProductOptionValueType; |
| 20 | 21 | use Sylius\Bundle\ProductBundle\Form\Type\ProductTranslationType; |
| 21 | 22 | use Sylius\Bundle\ProductBundle\Form\Type\ProductType; |
| 22 | -use Sylius\Bundle\ProductBundle\Form\Type\ProductGenerateVariantsType; |
|
| 23 | 23 | use Sylius\Bundle\ProductBundle\Form\Type\ProductVariantGenerationType; |
| 24 | 24 | use Sylius\Bundle\ProductBundle\Form\Type\ProductVariantType; |
| 25 | 25 | use Sylius\Bundle\ResourceBundle\Controller\ResourceController; |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | namespace Sylius\Behat\Page\Admin\Customer; |
| 13 | 13 | |
| 14 | 14 | use Sylius\Behat\Page\SymfonyPage; |
| 15 | -use Webmozart\Assert\Assert; |
|
| 16 | 15 | |
| 17 | 16 | /** |
| 18 | 17 | * @author Magdalena Banasiak <[email protected]> |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | { |
| 50 | 50 | foreach ($variant->getOptionValues() as $option) { |
| 51 | 51 | if (!$existingVariant->hasOptionValue($option)) { |
| 52 | - return false; |
|
| 52 | + return false; |
|
| 53 | 53 | } |
| 54 | 54 | } |
| 55 | 55 | |