@@ -21,6 +21,7 @@ |
||
| 21 | 21 | /** |
| 22 | 22 | * @param FixtureEvent $fixtureEvent |
| 23 | 23 | * @param array $options |
| 24 | + * @return void |
|
| 24 | 25 | */ |
| 25 | 26 | public function beforeFixture(FixtureEvent $fixtureEvent, array $options): void; |
| 26 | 27 | } |
@@ -21,6 +21,7 @@ |
||
| 21 | 21 | /** |
| 22 | 22 | * @param SuiteEvent $suiteEvent |
| 23 | 23 | * @param array $options |
| 24 | + * @return void |
|
| 24 | 25 | */ |
| 25 | 26 | public function beforeSuite(SuiteEvent $suiteEvent, array $options): void; |
| 26 | 27 | } |
@@ -25,6 +25,7 @@ |
||
| 25 | 25 | * @param SuiteInterface $suite |
| 26 | 26 | * @param FixtureInterface $fixture |
| 27 | 27 | * @param array $options |
| 28 | + * @return void |
|
| 28 | 29 | */ |
| 29 | 30 | public function load(SuiteInterface $suite, FixtureInterface $fixture, array $options): void; |
| 30 | 31 | } |
@@ -22,6 +22,7 @@ |
||
| 22 | 22 | { |
| 23 | 23 | /** |
| 24 | 24 | * @param SuiteInterface $suite |
| 25 | + * @return void |
|
| 25 | 26 | */ |
| 26 | 27 | public function load(SuiteInterface $suite): void; |
| 27 | 28 | } |
@@ -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\FixturesBundle\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('services.xml'); |
| 36 | 36 | |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | */ |
| 43 | 43 | public function prepend(ContainerBuilder $container): void |
| 44 | 44 | { |
| 45 | - $loader = new XmlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config')); |
|
| 45 | + $loader = new XmlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config')); |
|
| 46 | 46 | |
| 47 | 47 | $extensionsNamesToConfigurationFiles = [ |
| 48 | 48 | 'doctrine' => 'doctrine/orm.xml', |
@@ -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 | /** |