@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Sylius\ShopApiPlugin\Factory; |
6 | 6 |
@@ -24,7 +24,8 @@ |
||
24 | 24 | /** |
25 | 25 | * @param CommandBus $bus |
26 | 26 | */ |
27 | - public function __construct(CommandBus $bus) { |
|
27 | + public function __construct(CommandBus $bus) |
|
28 | + { |
|
28 | 29 | $this->bus = $bus; |
29 | 30 | } |
30 | 31 |
@@ -28,7 +28,7 @@ |
||
28 | 28 | |
29 | 29 | public function provide(string $email): CustomerInterface |
30 | 30 | { |
31 | - $customer = $this->customerRepository->findOneBy(['email' => $email]); |
|
31 | + $customer = $this->customerRepository->findOneBy(['email' => $email]); |
|
32 | 32 | |
33 | 33 | if (null === $customer) { |
34 | 34 | /** @var CustomerInterface $customer */ |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Sylius\ShopApiPlugin\Factory; |
6 | 6 |
@@ -45,6 +45,9 @@ |
||
45 | 45 | return $currentTaxonView; |
46 | 46 | } |
47 | 47 | |
48 | + /** |
|
49 | + * @param string $locale |
|
50 | + */ |
|
48 | 51 | private function buildTaxonView(TaxonInterface $taxon, $locale): TaxonView |
49 | 52 | { |
50 | 53 | $taxonView = $this->taxonViewFactory->create($taxon, $locale); |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Sylius\ShopApiPlugin\EventListener; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Sylius\ShopApiPlugin\Modifier; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Sylius\ShopApiPlugin\Processor; |
6 | 6 |
@@ -1,6 +1,6 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -declare(strict_types=1); |
|
3 | +declare(strict_types = 1); |
|
4 | 4 | |
5 | 5 | namespace Sylius\ShopApiPlugin\Controller\Customer; |
6 | 6 |