@@ -21,6 +21,7 @@ |
||
| 21 | 21 | /** |
| 22 | 22 | * @param array $data |
| 23 | 23 | * @param array $recipients |
| 24 | + * @return void |
|
| 24 | 25 | */ |
| 25 | 26 | public function sendContactRequest(array $data, array $recipients): void; |
| 26 | 27 | } |
@@ -22,6 +22,7 @@ |
||
| 22 | 22 | { |
| 23 | 23 | /** |
| 24 | 24 | * @param OrderInterface $order |
| 25 | + * @return void |
|
| 25 | 26 | */ |
| 26 | 27 | public function sendConfirmationEmail(OrderInterface $order): void; |
| 27 | 28 | } |
@@ -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\ShopBundle\DependencyInjection; |
| 15 | 15 | |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | public function load(array $config, ContainerBuilder $container): void |
| 36 | 36 | { |
| 37 | 37 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
| 38 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 38 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 39 | 39 | |
| 40 | 40 | $loader->load('services.xml'); |
| 41 | 41 | $loader->load(sprintf('services/integrations/locale/%s.xml', $config['locale_switcher'])); |
@@ -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\ShopBundle\Controller; |
| 15 | 15 | |
@@ -135,7 +135,7 @@ discard block |
||
| 135 | 135 | * |
| 136 | 136 | * @return string|null |
| 137 | 137 | */ |
| 138 | - private function getSyliusAttribute(Request $request, string $attributeName, ?string $default): ?string |
|
| 138 | + private function getSyliusAttribute(Request $request, string $attributeName, ?string $default) : ?string |
|
| 139 | 139 | { |
| 140 | 140 | $attributes = $request->attributes->get('_sylius'); |
| 141 | 141 | |
@@ -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\ShopBundle\Controller; |
| 15 | 15 | |
@@ -82,7 +82,7 @@ discard block |
||
| 82 | 82 | * |
| 83 | 83 | * @return Response |
| 84 | 84 | */ |
| 85 | - public function switchAction(Request $request, ?string $code = null): Response |
|
| 85 | + public function switchAction(Request $request, ?string $code = null) : Response |
|
| 86 | 86 | { |
| 87 | 87 | if (null === $code) { |
| 88 | 88 | $code = $this->localeProvider->getDefaultLocaleCode(); |
@@ -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\ShopBundle\EventListener; |
| 15 | 15 | |
@@ -88,7 +88,7 @@ discard block |
||
| 88 | 88 | * |
| 89 | 89 | * @return bool |
| 90 | 90 | */ |
| 91 | - private function isFirewallSupported(?FirewallConfig $firewall = null): bool |
|
| 91 | + private function isFirewallSupported(?FirewallConfig $firewall = null) : bool |
|
| 92 | 92 | { |
| 93 | 93 | return |
| 94 | 94 | null !== $firewall && |