Completed
Pull Request — master (#146)
by Łukasz
17:07 queued 13:18
created
src/Controller/Checkout/AddressAction.php 1 patch
Spacing   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -44,8 +44,7 @@
 block discarded – undo
44 44
             Address::createFromArray($request->request->get('shippingAddress')),
45 45
             Address::createFromArray(
46 46
                 $request->request->has('billingAddress') ?
47
-                    $request->request->get('billingAddress') :
48
-                    $request->request->get('shippingAddress')
47
+                    $request->request->get('billingAddress') : $request->request->get('shippingAddress')
49 48
             )
50 49
         ));
51 50
 
Please login to merge, or discard this patch.
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.