@@ -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 |
@@ -12,8 +12,7 @@ |
||
12 | 12 | { |
13 | 13 | $breadcrumb = $product->getTranslation($locale)->getSlug(); |
14 | 14 | |
15 | - if (null !== $taxon = $product->getMainTaxon()) |
|
16 | - { |
|
15 | + if (null !== $taxon = $product->getMainTaxon()) { |
|
17 | 16 | $breadcrumb = sprintf('%s/%s', $taxon->getTranslation($locale)->getSlug(), $breadcrumb); |
18 | 17 | } |
19 | 18 |