@@ -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\ChannelBundle\DependencyInjection; |
| 15 | 15 | |
@@ -29,7 +29,7 @@ discard block |
||
| 29 | 29 | public function load(array $config, ContainerBuilder $container): void |
| 30 | 30 | { |
| 31 | 31 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
| 32 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 32 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 33 | 33 | |
| 34 | 34 | $loader->load(sprintf('services/integrations/%s.xml', $config['driver'])); |
| 35 | 35 | |
@@ -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\Channel\Context\RequestBased; |
| 15 | 15 | |
@@ -86,7 +86,7 @@ discard block |
||
| 86 | 86 | /** |
| 87 | 87 | * @param ChannelInterface|null $channel |
| 88 | 88 | */ |
| 89 | - private function assertChannelWasFound(?ChannelInterface $channel): void |
|
| 89 | + private function assertChannelWasFound(?ChannelInterface $channel) : void |
|
| 90 | 90 | { |
| 91 | 91 | if (null === $channel) { |
| 92 | 92 | throw new \UnexpectedValueException('Channel was not found for given request'); |
@@ -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\Channel\Model; |
| 15 | 15 | |
@@ -26,5 +26,5 @@ discard block |
||
| 26 | 26 | /** |
| 27 | 27 | * @param ChannelInterface|null $channel |
| 28 | 28 | */ |
| 29 | - public function setChannel(?ChannelInterface $channel): void; |
|
| 29 | + public function setChannel(?ChannelInterface $channel) : void; |
|
| 30 | 30 | } |
@@ -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\Channel\Model; |
| 15 | 15 | |
@@ -35,7 +35,7 @@ discard block |
||
| 35 | 35 | /** |
| 36 | 36 | * @param string|null $name |
| 37 | 37 | */ |
| 38 | - public function setName(?string $name): void; |
|
| 38 | + public function setName(?string $name) : void; |
|
| 39 | 39 | |
| 40 | 40 | /** |
| 41 | 41 | * @return string|null |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | /** |
| 46 | 46 | * @param string|null $description |
| 47 | 47 | */ |
| 48 | - public function setDescription(?string $description): void; |
|
| 48 | + public function setDescription(?string $description) : void; |
|
| 49 | 49 | |
| 50 | 50 | /** |
| 51 | 51 | * @return string|null |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | /** |
| 56 | 56 | * @param string|null $hostname |
| 57 | 57 | */ |
| 58 | - public function setHostname(?string $hostname): void; |
|
| 58 | + public function setHostname(?string $hostname) : void; |
|
| 59 | 59 | |
| 60 | 60 | /** |
| 61 | 61 | * @return string|null |
@@ -65,5 +65,5 @@ discard block |
||
| 65 | 65 | /** |
| 66 | 66 | * @param string|null $color |
| 67 | 67 | */ |
| 68 | - public function setColor(?string $color): void; |
|
| 68 | + public function setColor(?string $color) : void; |
|
| 69 | 69 | } |
@@ -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\Channel\Model; |
| 15 | 15 | |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | /** |
| 86 | 86 | * {@inheritdoc} |
| 87 | 87 | */ |
| 88 | - public function setCode(?string $code): void |
|
| 88 | + public function setCode(?string $code) : void |
|
| 89 | 89 | { |
| 90 | 90 | $this->code = $code; |
| 91 | 91 | } |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | /** |
| 102 | 102 | * {@inheritdoc} |
| 103 | 103 | */ |
| 104 | - public function setName(?string $name): void |
|
| 104 | + public function setName(?string $name) : void |
|
| 105 | 105 | { |
| 106 | 106 | $this->name = $name; |
| 107 | 107 | } |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | /** |
| 118 | 118 | * {@inheritdoc} |
| 119 | 119 | */ |
| 120 | - public function setDescription(?string $description): void |
|
| 120 | + public function setDescription(?string $description) : void |
|
| 121 | 121 | { |
| 122 | 122 | $this->description = $description; |
| 123 | 123 | } |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | /** |
| 134 | 134 | * {@inheritdoc} |
| 135 | 135 | */ |
| 136 | - public function setHostname(?string $hostname): void |
|
| 136 | + public function setHostname(?string $hostname) : void |
|
| 137 | 137 | { |
| 138 | 138 | $this->hostname = $hostname; |
| 139 | 139 | } |
@@ -149,7 +149,7 @@ discard block |
||
| 149 | 149 | /** |
| 150 | 150 | * {@inheritdoc} |
| 151 | 151 | */ |
| 152 | - public function setColor(?string $color): void |
|
| 152 | + public function setColor(?string $color) : void |
|
| 153 | 153 | { |
| 154 | 154 | $this->color = $color; |
| 155 | 155 | } |
@@ -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 | |
@@ -143,7 +143,7 @@ discard block |
||
| 143 | 143 | /** |
| 144 | 144 | * {@inheritdoc} |
| 145 | 145 | */ |
| 146 | - public function setChannel(?BaseChannelInterface $channel): void |
|
| 146 | + public function setChannel(?BaseChannelInterface $channel) : void |
|
| 147 | 147 | { |
| 148 | 148 | $this->channel = $channel; |
| 149 | 149 | } |