@@ -48,7 +48,7 @@ |
||
| 48 | 48 | $builder->add((string) $option->getCode(), ProductOptionValueChoiceType::class, [ |
| 49 | 49 | 'label' => $option->getName() ?: $option->getCode(), |
| 50 | 50 | 'option' => $option, |
| 51 | - 'property_path' => '['.$i.']', |
|
| 51 | + 'property_path' => '[' . $i . ']', |
|
| 52 | 52 | 'block_name' => 'entry', |
| 53 | 53 | ]); |
| 54 | 54 | } |
@@ -34,7 +34,7 @@ |
||
| 34 | 34 | $builder->add($option->getCode(), ProductOptionValueChoiceType::class, [ |
| 35 | 35 | 'label' => $option->getName(), |
| 36 | 36 | 'option' => $option, |
| 37 | - 'property_path' => '['.$i.']', |
|
| 37 | + 'property_path' => '[' . $i . ']', |
|
| 38 | 38 | 'block_name' => 'entry', |
| 39 | 39 | ]); |
| 40 | 40 | } |
@@ -107,7 +107,7 @@ |
||
| 107 | 107 | |
| 108 | 108 | $this->addItemToCart($cartId); |
| 109 | 109 | |
| 110 | - $this->client->request('PATCH', '/api/v1/carts/' . $cartId, [], [], static::$authorizedHeaderWithAccept, '{"promotionCoupon": "BANANAS"}'); |
|
| 110 | + $this->client->request('PATCH', '/api/v1/carts/' . $cartId, [], [], static::$authorizedHeaderWithAccept, '{"promotionCoupon": "BANANAS"}'); |
|
| 111 | 111 | |
| 112 | 112 | $this->addressOrder($cartId); |
| 113 | 113 | $this->selectOrderShippingMethod($cartId); |
@@ -71,7 +71,7 @@ |
||
| 71 | 71 | ) { |
| 72 | 72 | $this->channelFactory = $channelFactory; |
| 73 | 73 | $this->localeRepository = $localeRepository; |
| 74 | - $this->currencyRepository= $currencyRepository; |
|
| 74 | + $this->currencyRepository = $currencyRepository; |
|
| 75 | 75 | $this->zoneRepository = $zoneRepository; |
| 76 | 76 | |
| 77 | 77 | $this->faker = \Faker\Factory::create(); |
@@ -76,7 +76,7 @@ |
||
| 76 | 76 | count($this->commands), |
| 77 | 77 | $command['message'] |
| 78 | 78 | )); |
| 79 | - $this->commandExecutor->runCommand('sylius:install:'.$command['command'], [], $output); |
|
| 79 | + $this->commandExecutor->runCommand('sylius:install:' . $command['command'], [], $output); |
|
| 80 | 80 | } catch (RuntimeException $exception) { |
| 81 | 81 | $errored = true; |
| 82 | 82 | } |
@@ -165,7 +165,7 @@ |
||
| 165 | 165 | */ |
| 166 | 166 | public function iSetItsPriceTo($price = null, $channelName = null) |
| 167 | 167 | { |
| 168 | - $this->createPage->specifyPrice($price, (null === $channelName) ? $this->sharedStorage->get('channel') :$channelName); |
|
| 168 | + $this->createPage->specifyPrice($price, (null === $channelName) ? $this->sharedStorage->get('channel') : $channelName); |
|
| 169 | 169 | } |
| 170 | 170 | |
| 171 | 171 | /** |