@@ -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\Component\Core\Model; |
| 15 | 15 | |
@@ -52,7 +52,7 @@ discard block |
||
| 52 | 52 | /** |
| 53 | 53 | * {@inheritdoc} |
| 54 | 54 | */ |
| 55 | - public function setShipment(?BaseShipmentInterface $shipment): void |
|
| 55 | + public function setShipment(?BaseShipmentInterface $shipment) : void |
|
| 56 | 56 | { |
| 57 | 57 | $this->shipment = $shipment; |
| 58 | 58 | } |
@@ -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\Component\Inventory\Model; |
| 15 | 15 | |
@@ -36,7 +36,7 @@ discard block |
||
| 36 | 36 | /** |
| 37 | 37 | * @param int|null $onHold |
| 38 | 38 | */ |
| 39 | - public function setOnHold(?int $onHold): void; |
|
| 39 | + public function setOnHold(?int $onHold) : void; |
|
| 40 | 40 | |
| 41 | 41 | /** |
| 42 | 42 | * @return int|null |
@@ -46,7 +46,7 @@ discard block |
||
| 46 | 46 | /** |
| 47 | 47 | * @param int|null $onHand |
| 48 | 48 | */ |
| 49 | - public function setOnHand(?int $onHand): void; |
|
| 49 | + public function setOnHand(?int $onHand) : void; |
|
| 50 | 50 | |
| 51 | 51 | /** |
| 52 | 52 | * @return bool |
@@ -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\ShippingBundle\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 | |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | */ |
| 44 | 44 | public function registerContainerConfiguration(LoaderInterface $loader): void |
| 45 | 45 | { |
| 46 | - $loader->load(__DIR__.'/config/config.yml'); |
|
| 46 | + $loader->load(__DIR__ . '/config/config.yml'); |
|
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | /** |
@@ -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\InventoryBundle\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 | $this->registerResources('sylius', $config['driver'], $config['resources'], $container); |
| 36 | 36 | |
@@ -43,7 +43,7 @@ |
||
| 43 | 43 | */ |
| 44 | 44 | public function registerContainerConfiguration(LoaderInterface $loader): void |
| 45 | 45 | { |
| 46 | - $loader->load(__DIR__.'/config/config.yml'); |
|
| 46 | + $loader->load(__DIR__ . '/config/config.yml'); |
|
| 47 | 47 | } |
| 48 | 48 | |
| 49 | 49 | /** |
@@ -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\Component\Shipping\Model; |
| 15 | 15 | |
@@ -28,7 +28,7 @@ discard block |
||
| 28 | 28 | /** |
| 29 | 29 | * @param string|null $name |
| 30 | 30 | */ |
| 31 | - public function setName(?string $name): void; |
|
| 31 | + public function setName(?string $name) : void; |
|
| 32 | 32 | |
| 33 | 33 | /** |
| 34 | 34 | * @return string|null |
@@ -38,5 +38,5 @@ discard block |
||
| 38 | 38 | /** |
| 39 | 39 | * @param string|null $description |
| 40 | 40 | */ |
| 41 | - public function setDescription(?string $description): void; |
|
| 41 | + public function setDescription(?string $description) : void; |
|
| 42 | 42 | } |
@@ -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\ThemeBundle\Collector; |
| 15 | 15 | |
@@ -89,7 +89,7 @@ discard block |
||
| 89 | 89 | /** |
| 90 | 90 | * {@inheritdoc} |
| 91 | 91 | */ |
| 92 | - public function collect(Request $request, Response $response, ?\Exception $exception = null): void |
|
| 92 | + public function collect(Request $request, Response $response, ?\Exception $exception = null) : void |
|
| 93 | 93 | { |
| 94 | 94 | $this->data['used_theme'] = $this->themeContext->getTheme(); |
| 95 | 95 | $this->data['used_themes'] = $this->themeHierarchyProvider->getThemeHierarchy($this->themeContext->getTheme()); |
@@ -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\ThemeBundle\Translation; |
| 15 | 15 | |
@@ -121,7 +121,7 @@ discard block |
||
| 121 | 121 | * |
| 122 | 122 | * @return string|null |
| 123 | 123 | */ |
| 124 | - private function transformLocale(?string $locale): ?string |
|
| 124 | + private function transformLocale(?string $locale) : ?string |
|
| 125 | 125 | { |
| 126 | 126 | $theme = $this->themeContext->getTheme(); |
| 127 | 127 | |