@@ -44,7 +44,7 @@ |
||
44 | 44 | */ |
45 | 45 | public function registerContainerConfiguration(LoaderInterface $loader) |
46 | 46 | { |
47 | - $loader->load(__DIR__.'/config/config.yml'); |
|
47 | + $loader->load(__DIR__ . '/config/config.yml'); |
|
48 | 48 | } |
49 | 49 | |
50 | 50 | /** |
@@ -44,7 +44,7 @@ |
||
44 | 44 | */ |
45 | 45 | public function registerContainerConfiguration(LoaderInterface $loader) |
46 | 46 | { |
47 | - $loader->load(__DIR__.'/config/config.yml'); |
|
47 | + $loader->load(__DIR__ . '/config/config.yml'); |
|
48 | 48 | } |
49 | 49 | |
50 | 50 | /** |
@@ -47,7 +47,8 @@ |
||
47 | 47 | { |
48 | 48 | $resolver->setNormalizer('validation_groups', function (Options $options, array $validationGroups) { |
49 | 49 | return function (FormInterface $form) use ($validationGroups) { |
50 | - if ((bool) $form->get('promotionCoupon')->getNormData()) { // Validate the coupon if it was sent |
|
50 | + if ((bool) $form->get('promotionCoupon')->getNormData()) { |
|
51 | +// Validate the coupon if it was sent |
|
51 | 52 | $validationGroups[] = 'sylius_promotion_coupon'; |
52 | 53 | } |
53 | 54 |
@@ -56,7 +56,7 @@ |
||
56 | 56 | public function onLogoutSuccess(Request $request) |
57 | 57 | { |
58 | 58 | $channel = $this->channelContext->getChannel(); |
59 | - $this->session->remove('_sylius.cart.'.$channel->getCode()); |
|
59 | + $this->session->remove('_sylius.cart.' . $channel->getCode()); |
|
60 | 60 | |
61 | 61 | return parent::onLogoutSuccess($request); |
62 | 62 | } |
@@ -44,7 +44,7 @@ |
||
44 | 44 | */ |
45 | 45 | public function registerContainerConfiguration(LoaderInterface $loader) |
46 | 46 | { |
47 | - $loader->load(__DIR__.'/config/config.yml'); |
|
47 | + $loader->load(__DIR__ . '/config/config.yml'); |
|
48 | 48 | } |
49 | 49 | |
50 | 50 | /** |
@@ -44,7 +44,7 @@ |
||
44 | 44 | */ |
45 | 45 | public function registerContainerConfiguration(LoaderInterface $loader) |
46 | 46 | { |
47 | - $loader->load(__DIR__.'/config/config.yml'); |
|
47 | + $loader->load(__DIR__ . '/config/config.yml'); |
|
48 | 48 | } |
49 | 49 | |
50 | 50 | /** |
@@ -44,7 +44,7 @@ |
||
44 | 44 | */ |
45 | 45 | public function registerContainerConfiguration(LoaderInterface $loader) |
46 | 46 | { |
47 | - $loader->load(__DIR__.'/config/config.yml'); |
|
47 | + $loader->load(__DIR__ . '/config/config.yml'); |
|
48 | 48 | } |
49 | 49 | |
50 | 50 | /** |
@@ -44,7 +44,7 @@ |
||
44 | 44 | */ |
45 | 45 | public function registerContainerConfiguration(LoaderInterface $loader) |
46 | 46 | { |
47 | - $loader->load(__DIR__.'/config/config.yml'); |
|
47 | + $loader->load(__DIR__ . '/config/config.yml'); |
|
48 | 48 | } |
49 | 49 | |
50 | 50 | /** |
@@ -44,7 +44,7 @@ |
||
44 | 44 | */ |
45 | 45 | public function registerContainerConfiguration(LoaderInterface $loader) |
46 | 46 | { |
47 | - $loader->load(__DIR__.'/config/config.yml'); |
|
47 | + $loader->load(__DIR__ . '/config/config.yml'); |
|
48 | 48 | } |
49 | 49 | |
50 | 50 | /** |