Completed
Push — master ( a843cb...f1a431 )
by Łukasz
16s
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/Generator/ProductBreadcrumbGenerator.php 1 patch
Braces   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,7 @@
 block discarded – undo
12 12
     {
13 13
         $breadcrumb = $product->getTranslation($locale)->getSlug();
14 14
 
15
-        if (null !== $taxon = $product->getMainTaxon())
16
-        {
15
+        if (null !== $taxon = $product->getMainTaxon()) {
17 16
             $breadcrumb = sprintf('%s/%s', $taxon->getTranslation($locale)->getSlug(), $breadcrumb);
18 17
         }
19 18
 
Please login to merge, or discard this patch.