Completed
Push — master ( 01041e...e275ec )
by Paweł
03:03
created
src/Controller/CartController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -318,7 +318,7 @@
 block discarded – undo
318 318
             return $product->getVariants()[0];
319 319
         }
320 320
 
321
-        if ($product->hasOptions()){
321
+        if ($product->hasOptions()) {
322 322
             return $this->getVariant($request->request->get('options'), $product);
323 323
         }
324 324
 
Please login to merge, or discard this patch.
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/Handler/CompleteOrderHandler.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
      */
80 80
     private function provideCustometer(CompleteOrder $completeOrder)
81 81
     {
82
-        $customer =  $this->customerRepository->findOneBy(['email' => $completeOrder->email()]);
82
+        $customer = $this->customerRepository->findOneBy(['email' => $completeOrder->email()]);
83 83
 
84 84
         if (null === $customer) {
85 85
             /** @var CustomerInterface $customer */
Please login to merge, or discard this patch.