@@ -30,6 +30,7 @@ discard block |
||
| 30 | 30 | |
| 31 | 31 | /** |
| 32 | 32 | * @param string|null $name |
| 33 | + * @return void |
|
| 33 | 34 | */ |
| 34 | 35 | public function setName(?string $name): void; |
| 35 | 36 | |
@@ -40,6 +41,7 @@ discard block |
||
| 40 | 41 | |
| 41 | 42 | /** |
| 42 | 43 | * @param string|null $description |
| 44 | + * @return void |
|
| 43 | 45 | */ |
| 44 | 46 | public function setDescription(?string $description): void; |
| 45 | 47 | |
@@ -50,11 +52,13 @@ discard block |
||
| 50 | 52 | |
| 51 | 53 | /** |
| 52 | 54 | * @param TaxRateInterface $rate |
| 55 | + * @return void |
|
| 53 | 56 | */ |
| 54 | 57 | public function addRate(TaxRateInterface $rate): void; |
| 55 | 58 | |
| 56 | 59 | /** |
| 57 | 60 | * @param TaxRateInterface $rate |
| 61 | + * @return void |
|
| 58 | 62 | */ |
| 59 | 63 | public function removeRate(TaxRateInterface $rate): void; |
| 60 | 64 | |
@@ -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\Taxation\Model; |
| 15 | 15 | |
@@ -31,7 +31,7 @@ discard block |
||
| 31 | 31 | /** |
| 32 | 32 | * @param string|null $name |
| 33 | 33 | */ |
| 34 | - public function setName(?string $name): void; |
|
| 34 | + public function setName(?string $name) : void; |
|
| 35 | 35 | |
| 36 | 36 | /** |
| 37 | 37 | * @return string|null |
@@ -41,7 +41,7 @@ discard block |
||
| 41 | 41 | /** |
| 42 | 42 | * @param string|null $description |
| 43 | 43 | */ |
| 44 | - public function setDescription(?string $description): void; |
|
| 44 | + public function setDescription(?string $description) : void; |
|
| 45 | 45 | |
| 46 | 46 | /** |
| 47 | 47 | * @return Collection|TaxRateInterface[] |
@@ -29,6 +29,7 @@ discard block |
||
| 29 | 29 | |
| 30 | 30 | /** |
| 31 | 31 | * @param TaxCategoryInterface|null $category |
| 32 | + * @return void |
|
| 32 | 33 | */ |
| 33 | 34 | public function setCategory(?TaxCategoryInterface $category): void; |
| 34 | 35 | |
@@ -39,6 +40,7 @@ discard block |
||
| 39 | 40 | |
| 40 | 41 | /** |
| 41 | 42 | * @param string|null $name |
| 43 | + * @return void |
|
| 42 | 44 | */ |
| 43 | 45 | public function setName(?string $name): void; |
| 44 | 46 | |
@@ -54,6 +56,7 @@ discard block |
||
| 54 | 56 | |
| 55 | 57 | /** |
| 56 | 58 | * @param float|null $amount |
| 59 | + * @return void |
|
| 57 | 60 | */ |
| 58 | 61 | public function setAmount(?float $amount): void; |
| 59 | 62 | |
@@ -64,6 +67,7 @@ discard block |
||
| 64 | 67 | |
| 65 | 68 | /** |
| 66 | 69 | * @param bool|null $includedInPrice |
| 70 | + * @return void |
|
| 67 | 71 | */ |
| 68 | 72 | public function setIncludedInPrice(?bool $includedInPrice): void; |
| 69 | 73 | |
@@ -74,6 +78,7 @@ discard block |
||
| 74 | 78 | |
| 75 | 79 | /** |
| 76 | 80 | * @param string|null $calculator |
| 81 | + * @return void |
|
| 77 | 82 | */ |
| 78 | 83 | public function setCalculator(?string $calculator): void; |
| 79 | 84 | |
@@ -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\Taxation\Model; |
| 15 | 15 | |
@@ -30,7 +30,7 @@ discard block |
||
| 30 | 30 | /** |
| 31 | 31 | * @param TaxCategoryInterface|null $category |
| 32 | 32 | */ |
| 33 | - public function setCategory(?TaxCategoryInterface $category): void; |
|
| 33 | + public function setCategory(?TaxCategoryInterface $category) : void; |
|
| 34 | 34 | |
| 35 | 35 | /** |
| 36 | 36 | * @return string|null |
@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | /** |
| 41 | 41 | * @param string|null $name |
| 42 | 42 | */ |
| 43 | - public function setName(?string $name): void; |
|
| 43 | + public function setName(?string $name) : void; |
|
| 44 | 44 | |
| 45 | 45 | /** |
| 46 | 46 | * @return float |
@@ -55,7 +55,7 @@ discard block |
||
| 55 | 55 | /** |
| 56 | 56 | * @param float|null $amount |
| 57 | 57 | */ |
| 58 | - public function setAmount(?float $amount): void; |
|
| 58 | + public function setAmount(?float $amount) : void; |
|
| 59 | 59 | |
| 60 | 60 | /** |
| 61 | 61 | * @return bool |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | /** |
| 66 | 66 | * @param bool|null $includedInPrice |
| 67 | 67 | */ |
| 68 | - public function setIncludedInPrice(?bool $includedInPrice): void; |
|
| 68 | + public function setIncludedInPrice(?bool $includedInPrice) : void; |
|
| 69 | 69 | |
| 70 | 70 | /** |
| 71 | 71 | * @return string|null |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | /** |
| 76 | 76 | * @param string|null $calculator |
| 77 | 77 | */ |
| 78 | - public function setCalculator(?string $calculator): void; |
|
| 78 | + public function setCalculator(?string $calculator) : void; |
|
| 79 | 79 | |
| 80 | 80 | /** |
| 81 | 81 | * @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\Bundle\TaxationBundle\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 | |
@@ -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\Taxation\Model; |
| 15 | 15 | |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | /** |
| 82 | 82 | * {@inheritdoc} |
| 83 | 83 | */ |
| 84 | - public function setCode(?string $code): void |
|
| 84 | + public function setCode(?string $code) : void |
|
| 85 | 85 | { |
| 86 | 86 | $this->code = $code; |
| 87 | 87 | } |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | /** |
| 98 | 98 | * {@inheritdoc} |
| 99 | 99 | */ |
| 100 | - public function setCategory(?TaxCategoryInterface $category): void |
|
| 100 | + public function setCategory(?TaxCategoryInterface $category) : void |
|
| 101 | 101 | { |
| 102 | 102 | $this->category = $category; |
| 103 | 103 | } |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | /** |
| 114 | 114 | * {@inheritdoc} |
| 115 | 115 | */ |
| 116 | - public function setName(?string $name): void |
|
| 116 | + public function setName(?string $name) : void |
|
| 117 | 117 | { |
| 118 | 118 | $this->name = $name; |
| 119 | 119 | } |
@@ -137,7 +137,7 @@ discard block |
||
| 137 | 137 | /** |
| 138 | 138 | * {@inheritdoc} |
| 139 | 139 | */ |
| 140 | - public function setAmount(?float $amount): void |
|
| 140 | + public function setAmount(?float $amount) : void |
|
| 141 | 141 | { |
| 142 | 142 | $this->amount = $amount; |
| 143 | 143 | } |
@@ -153,7 +153,7 @@ discard block |
||
| 153 | 153 | /** |
| 154 | 154 | * {@inheritdoc} |
| 155 | 155 | */ |
| 156 | - public function setIncludedInPrice(?bool $includedInPrice): void |
|
| 156 | + public function setIncludedInPrice(?bool $includedInPrice) : void |
|
| 157 | 157 | { |
| 158 | 158 | $this->includedInPrice = $includedInPrice; |
| 159 | 159 | } |
@@ -169,7 +169,7 @@ discard block |
||
| 169 | 169 | /** |
| 170 | 170 | * {@inheritdoc} |
| 171 | 171 | */ |
| 172 | - public function setCalculator(?string $calculator): void |
|
| 172 | + public function setCalculator(?string $calculator) : void |
|
| 173 | 173 | { |
| 174 | 174 | $this->calculator = $calculator; |
| 175 | 175 | } |
@@ -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\Taxation\Model; |
| 15 | 15 | |
@@ -81,7 +81,7 @@ discard block |
||
| 81 | 81 | /** |
| 82 | 82 | * {@inheritdoc} |
| 83 | 83 | */ |
| 84 | - public function setCode(?string $code): void |
|
| 84 | + public function setCode(?string $code) : void |
|
| 85 | 85 | { |
| 86 | 86 | $this->code = $code; |
| 87 | 87 | } |
@@ -97,7 +97,7 @@ discard block |
||
| 97 | 97 | /** |
| 98 | 98 | * {@inheritdoc} |
| 99 | 99 | */ |
| 100 | - public function setName(?string $name): void |
|
| 100 | + public function setName(?string $name) : void |
|
| 101 | 101 | { |
| 102 | 102 | $this->name = $name; |
| 103 | 103 | } |
@@ -113,7 +113,7 @@ discard block |
||
| 113 | 113 | /** |
| 114 | 114 | * {@inheritdoc} |
| 115 | 115 | */ |
| 116 | - public function setDescription(?string $description): void |
|
| 116 | + public function setDescription(?string $description) : void |
|
| 117 | 117 | { |
| 118 | 118 | $this->description = $description; |
| 119 | 119 | } |