Failed Conditions
Pull Request — master (#175)
by Łukasz
04:12
created
src/Factory/ProductViewFactory.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/Factory/DetailedProductViewFactory.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/Factory/ProductViewFactoryInterface.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/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.
src/Factory/AdjustmentViewFactory.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
         $this->priceViewFactory = $priceViewFactory;
18 18
     }
19 19
 
20
-    public function create(AdjustmentInterface $adjustment, ?AdjustmentView $additionalAmount): AdjustmentView
20
+    public function create(AdjustmentInterface $adjustment, ? AdjustmentView $additionalAmount) : AdjustmentView
21 21
     {
22 22
         $adjustmentView = new AdjustmentView();
23 23
 
Please login to merge, or discard this patch.
src/Factory/AdjustmentViewFactoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,5 +9,5 @@
 block discarded – undo
9 9
 
10 10
 interface AdjustmentViewFactoryInterface
11 11
 {
12
-    public function create(AdjustmentInterface $adjustment, ?AdjustmentView $additionalAmount): AdjustmentView;
12
+    public function create(AdjustmentInterface $adjustment, ? AdjustmentView $additionalAmount) : AdjustmentView;
13 13
 }
Please login to merge, or discard this patch.