@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | use PSS\SymfonyMockerContainer\DependencyInjection\MockerContainer; |
15 | 15 | use Symfony\Component\Config\Loader\LoaderInterface; |
@@ -39,7 +39,7 @@ discard block |
||
39 | 39 | */ |
40 | 40 | public function registerContainerConfiguration(LoaderInterface $loader): void |
41 | 41 | { |
42 | - $loader->load(__DIR__.'/config/config.yml'); |
|
42 | + $loader->load(__DIR__ . '/config/config.yml'); |
|
43 | 43 | } |
44 | 44 | |
45 | 45 | /** |
@@ -9,7 +9,7 @@ |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace spec\Sylius\Bundle\OrderBundle\Context; |
15 | 15 |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\OrderBundle\DependencyInjection; |
15 | 15 | |
@@ -30,7 +30,7 @@ discard block |
||
30 | 30 | public function load(array $config, ContainerBuilder $container): void |
31 | 31 | { |
32 | 32 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
33 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
33 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
34 | 34 | |
35 | 35 | $loader->load(sprintf('services/integrations/%s.xml', $config['driver'])); |
36 | 36 |
@@ -9,7 +9,7 @@ discard block |
||
9 | 9 | * file that was distributed with this source code. |
10 | 10 | */ |
11 | 11 | |
12 | -declare(strict_types=1); |
|
12 | +declare(strict_types = 1); |
|
13 | 13 | |
14 | 14 | namespace Sylius\Bundle\OrderBundle\Remover; |
15 | 15 | |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | |
66 | 66 | public function remove(): void |
67 | 67 | { |
68 | - $expiredCarts = $this->orderRepository->findCartsNotModifiedSince(new \DateTime('-'.$this->expirationPeriod)); |
|
68 | + $expiredCarts = $this->orderRepository->findCartsNotModifiedSince(new \DateTime('-' . $this->expirationPeriod)); |
|
69 | 69 | |
70 | 70 | $this->eventDispatcher->dispatch(SyliusExpiredCartsEvents::PRE_REMOVE, new GenericEvent($expiredCarts)); |
71 | 71 |