Completed
Pull Request — master (#138)
by Łukasz
03:38
created
src/EventListener/UserRegistrationListener.php 1 patch
Braces   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,8 @@
 block discarded – undo
24 24
     /**
25 25
      * @param CommandBus $bus
26 26
      */
27
-    public function __construct(CommandBus $bus) {
27
+    public function __construct(CommandBus $bus)
28
+    {
28 29
         $this->bus = $bus;
29 30
     }
30 31
 
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/Controller/Product/ShowProductCatalogAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -95,7 +95,7 @@
 block discarded – undo
95 95
             throw new NotFoundHttpException(sprintf('Channel with code %s has not been found', $channelCode));
96 96
         }
97 97
 
98
-        $locale = $request->query->has('locale') ? $request->query->get('locale'): $channel->getDefaultLocale()->getCode();
98
+        $locale = $request->query->has('locale') ? $request->query->get('locale') : $channel->getDefaultLocale()->getCode();
99 99
 
100 100
         $taxonSlug = $request->attributes->get('taxonomy');
101 101
         /** @var TaxonInterface $taxon */
Please login to merge, or discard this patch.
src/Controller/Product/ShowProductDetailsAction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@
 block discarded – undo
73 73
             throw new NotFoundHttpException(sprintf('Channel with code %s has not been found', $channelCode));
74 74
         }
75 75
 
76
-        $locale = $request->query->has('locale') ? $request->query->get('locale'): $channel->getDefaultLocale()->getCode();
76
+        $locale = $request->query->has('locale') ? $request->query->get('locale') : $channel->getDefaultLocale()->getCode();
77 77
 
78 78
         $productSlug = $request->attributes->get('slug');
79 79
         $product = $this->productRepository->findOneByChannelAndSlug($channel, $locale, $productSlug);
Please login to merge, or discard this patch.