@@ -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 |
@@ -8,5 +8,5 @@ |
||
8 | 8 | |
9 | 9 | interface CartQueryInterface |
10 | 10 | { |
11 | - public function findByToken(?string $orderToken): CartSummaryView; |
|
11 | + public function findByToken(? string $orderToken) : CartSummaryView; |
|
12 | 12 | } |
@@ -34,7 +34,7 @@ |
||
34 | 34 | $this->cartViewFactory = $cartViewFactory; |
35 | 35 | } |
36 | 36 | |
37 | - public function findByToken(?string $orderToken): CartSummaryView |
|
37 | + public function findByToken(? string $orderToken) : CartSummaryView |
|
38 | 38 | { |
39 | 39 | /** @var OrderInterface $cart */ |
40 | 40 | $cart = $this->cartRepository->findOneBy(['tokenValue' => $orderToken]); |