Completed
Pull Request — master (#171)
by Łukasz
15:14
created
src/Provider/CustomerProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
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 */
Please login to merge, or discard this patch.
src/Factory/ListProductViewFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
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
 
Please login to merge, or discard this patch.
src/Query/CartQueryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -8,5 +8,5 @@
 block discarded – undo
8 8
 
9 9
 interface CartQueryInterface
10 10
 {
11
-    public function findByToken(?string $orderToken): CartSummaryView;
11
+    public function findByToken(? string $orderToken) : CartSummaryView;
12 12
 }
Please login to merge, or discard this patch.
src/Query/CartQuery.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -34,7 +34,7 @@
 block discarded – undo
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]);
Please login to merge, or discard this patch.