@@ -53,7 +53,7 @@ |
||
53 | 53 | |
54 | 54 | public function cancel() |
55 | 55 | { |
56 | - $expiredUnpaidOrders = $this->orderRepository->findOrdersUnpaidSince(new \DateTime('-'.$this->expirationPeriod)); |
|
56 | + $expiredUnpaidOrders = $this->orderRepository->findOrdersUnpaidSince(new \DateTime('-' . $this->expirationPeriod)); |
|
57 | 57 | foreach ($expiredUnpaidOrders as $expiredUnpaidOrder) { |
58 | 58 | $this->cancelOrder($expiredUnpaidOrder); |
59 | 59 | } |
@@ -197,7 +197,7 @@ |
||
197 | 197 | return |
198 | 198 | (stripos($elementText, $customerName) !== false) && |
199 | 199 | (stripos($elementText, $street) !== false) && |
200 | - (stripos($elementText, $city.', '.$postcode) !== false) && |
|
200 | + (stripos($elementText, $city . ', ' . $postcode) !== false) && |
|
201 | 201 | (stripos($elementText, $countryName) !== false) |
202 | 202 | ; |
203 | 203 | } |
@@ -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 | /** |
@@ -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 | /** |