@@ -15,17 +15,17 @@ |
||
| 15 | 15 | use Sylius\Behat\NotificationType; |
| 16 | 16 | use Sylius\Behat\Page\Admin\Crud\CreatePageInterface; |
| 17 | 17 | use Sylius\Behat\Page\Admin\Crud\UpdatePageInterface; |
| 18 | +use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface; |
|
| 18 | 19 | use Sylius\Behat\Page\Admin\Product\CreateConfigurableProductPageInterface; |
| 19 | 20 | use Sylius\Behat\Page\Admin\Product\CreateSimpleProductPageInterface; |
| 20 | 21 | use Sylius\Behat\Page\Admin\Product\IndexPageInterface; |
| 21 | 22 | use Sylius\Behat\Page\Admin\Product\UpdateConfigurableProductPageInterface; |
| 22 | 23 | use Sylius\Behat\Page\Admin\Product\UpdateSimpleProductPageInterface; |
| 23 | -use Sylius\Behat\Page\Admin\ProductReview\IndexPageInterface as ProductReviewIndexPageInterface; |
|
| 24 | 24 | use Sylius\Behat\Service\NotificationCheckerInterface; |
| 25 | 25 | use Sylius\Behat\Service\Resolver\CurrentProductPageResolverInterface; |
| 26 | +use Sylius\Behat\Service\SharedStorageInterface; |
|
| 26 | 27 | use Sylius\Component\Core\Model\ChannelInterface; |
| 27 | 28 | use Sylius\Component\Core\Model\ProductInterface; |
| 28 | -use Sylius\Behat\Service\SharedStorageInterface; |
|
| 29 | 29 | use Sylius\Component\Currency\Model\CurrencyInterface; |
| 30 | 30 | use Sylius\Component\Product\Model\ProductAssociationTypeInterface; |
| 31 | 31 | use Sylius\Component\Taxonomy\Model\TaxonInterface; |
@@ -56,7 +56,7 @@ |
||
| 56 | 56 | */ |
| 57 | 57 | foreach ($this->channelRepository->findAll() as $channel) { |
| 58 | 58 | foreach ($this->currencyRepository->findAll() as $currency) { |
| 59 | - $builder->add($channel->getCode().$options['delimiter'].$currency->getCode(), 'sylius_money', [ |
|
| 59 | + $builder->add($channel->getCode() . $options['delimiter'] . $currency->getCode(), 'sylius_money', [ |
|
| 60 | 60 | 'label' => sprintf('%s %s', $channel->getName(), $currency->getCode()) |
| 61 | 61 | ]); |
| 62 | 62 | } |
@@ -117,7 +117,7 @@ |
||
| 117 | 117 | $view->vars['prototypes'] = []; |
| 118 | 118 | foreach ($form->getConfig()->getAttribute('prototypes') as $group => $prototypes) { |
| 119 | 119 | foreach ($prototypes as $type => $prototype) { |
| 120 | - $view->vars['prototypes'][$group.'_'.$type] = $prototype->createView($view); |
|
| 120 | + $view->vars['prototypes'][$group . '_' . $type] = $prototype->createView($view); |
|
| 121 | 121 | } |
| 122 | 122 | } |
| 123 | 123 | } |