@@ -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\Product\Model; |
| 15 | 15 | |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | /** |
| 31 | 31 | * @param ProductOptionInterface $option |
| 32 | 32 | */ |
| 33 | - public function setOption(?ProductOptionInterface $option): void; |
|
| 33 | + public function setOption(?ProductOptionInterface $option) : void; |
|
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | 36 | * @return string|null |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | /** |
| 41 | 41 | * @param string|null $value |
| 42 | 42 | */ |
| 43 | - public function setValue(?string $value): void; |
|
| 43 | + public function setValue(?string $value) : void; |
|
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | 46 | * @return string|null |
@@ -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\Product\Model; |
| 15 | 15 | |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | /** |
| 70 | 70 | * {@inheritdoc} |
| 71 | 71 | */ |
| 72 | - public function setName(?string $name): void |
|
| 72 | + public function setName(?string $name) : void |
|
| 73 | 73 | { |
| 74 | 74 | $this->name = $name; |
| 75 | 75 | } |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | /** |
| 86 | 86 | * {@inheritdoc} |
| 87 | 87 | */ |
| 88 | - public function setSlug(?string $slug): void |
|
| 88 | + public function setSlug(?string $slug) : void |
|
| 89 | 89 | { |
| 90 | 90 | $this->slug = $slug; |
| 91 | 91 | } |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | /** |
| 102 | 102 | * {@inheritdoc} |
| 103 | 103 | */ |
| 104 | - public function setDescription(?string $description): void |
|
| 104 | + public function setDescription(?string $description) : void |
|
| 105 | 105 | { |
| 106 | 106 | $this->description = $description; |
| 107 | 107 | } |
@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | /** |
| 118 | 118 | * {@inheritdoc} |
| 119 | 119 | */ |
| 120 | - public function setMetaKeywords(?string $metaKeywords): void |
|
| 120 | + public function setMetaKeywords(?string $metaKeywords) : void |
|
| 121 | 121 | { |
| 122 | 122 | $this->metaKeywords = $metaKeywords; |
| 123 | 123 | } |
@@ -133,7 +133,7 @@ discard block |
||
| 133 | 133 | /** |
| 134 | 134 | * {@inheritdoc} |
| 135 | 135 | */ |
| 136 | - public function setMetaDescription(?string $metaDescription): void |
|
| 136 | + public function setMetaDescription(?string $metaDescription) : void |
|
| 137 | 137 | { |
| 138 | 138 | $this->metaDescription = $metaDescription; |
| 139 | 139 | } |
@@ -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\Product\Model; |
| 15 | 15 | |
@@ -84,7 +84,7 @@ discard block |
||
| 84 | 84 | /** |
| 85 | 85 | * {@inheritdoc} |
| 86 | 86 | */ |
| 87 | - public function setCode(?string $code): void |
|
| 87 | + public function setCode(?string $code) : void |
|
| 88 | 88 | { |
| 89 | 89 | $this->code = $code; |
| 90 | 90 | } |
@@ -100,7 +100,7 @@ discard block |
||
| 100 | 100 | /** |
| 101 | 101 | * {@inheritdoc} |
| 102 | 102 | */ |
| 103 | - public function setName(?string $name): void |
|
| 103 | + public function setName(?string $name) : void |
|
| 104 | 104 | { |
| 105 | 105 | $this->getTranslation()->setName($name); |
| 106 | 106 | } |
@@ -116,7 +116,7 @@ discard block |
||
| 116 | 116 | /** |
| 117 | 117 | * {@inheritdoc} |
| 118 | 118 | */ |
| 119 | - public function setPosition(?int $position): void |
|
| 119 | + public function setPosition(?int $position) : void |
|
| 120 | 120 | { |
| 121 | 121 | $this->position = $position; |
| 122 | 122 | } |
@@ -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\Grid\Definition; |
| 15 | 15 | |
@@ -152,7 +152,7 @@ discard block |
||
| 152 | 152 | /** |
| 153 | 153 | * @param string|null $sortable |
| 154 | 154 | */ |
| 155 | - public function setSortable(?string $sortable): void |
|
| 155 | + public function setSortable(?string $sortable) : void |
|
| 156 | 156 | { |
| 157 | 157 | $this->sortable = $sortable ?: $this->name; |
| 158 | 158 | } |
@@ -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 Sylius\Component\Grid\Exception; |
| 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\ResourceBundle\Grid\Renderer; |
| 15 | 15 | |
@@ -66,7 +66,7 @@ discard block |
||
| 66 | 66 | /** |
| 67 | 67 | * {@inheritdoc} |
| 68 | 68 | */ |
| 69 | - public function render(GridViewInterface $gridView, ?string $template = null): string |
|
| 69 | + public function render(GridViewInterface $gridView, ?string $template = null) : string |
|
| 70 | 70 | { |
| 71 | 71 | return (string) $this->gridRenderer->render($gridView, $template); |
| 72 | 72 | } |
@@ -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\ProductBundle\DependencyInjection; |
| 15 | 15 | |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | public function load(array $config, ContainerBuilder $container): void |
| 41 | 41 | { |
| 42 | 42 | $config = $this->processConfiguration($this->getConfiguration([], $container), $config); |
| 43 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 43 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 44 | 44 | |
| 45 | 45 | $loader->load(sprintf('services/integrations/%s.xml', $config['driver'])); |
| 46 | 46 | |
@@ -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\ProductBundle\Form\DataTransformer; |
| 15 | 15 | |
@@ -177,7 +177,7 @@ discard block |
||
| 177 | 177 | /** |
| 178 | 178 | * @param Collection|null $productAssociations |
| 179 | 179 | */ |
| 180 | - private function setProductAssociations(?Collection $productAssociations): void |
|
| 180 | + private function setProductAssociations(?Collection $productAssociations) : void |
|
| 181 | 181 | { |
| 182 | 182 | $this->productAssociations = $productAssociations; |
| 183 | 183 | } |
@@ -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 | /** |