Completed
Pull Request — master (#200)
by Mateusz
02:56
created
src/ViewRepository/ProductReviewsViewRepositoryInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@
 block discarded – undo
9 9
 
10 10
 interface ProductReviewsViewRepositoryInterface
11 11
 {
12
-    public function getByProductSlug(string $productSlug, string $channelCode, PaginatorDetails $paginatorDetails, ?string $localeCode): PageView;
12
+    public function getByProductSlug(string $productSlug, string $channelCode, PaginatorDetails $paginatorDetails, ? string $localeCode) : PageView;
13 13
 
14 14
     public function getByProductCode(string $productCode, string $channelCode, PaginatorDetails $paginatorDetails): PageView;
15 15
 }
Please login to merge, or discard this patch.
src/EventListener/RequestLocaleSetter.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\EventListener;
6 6
 
Please login to merge, or discard this patch.
src/Modifier/OrderModifierInterface.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\Modifier;
6 6
 
Please login to merge, or discard this patch.
src/Modifier/OrderModifier.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 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\Modifier;
6 6
 
@@ -67,7 +67,7 @@  discard block
 block discarded – undo
67 67
         $this->orderManager->persist($order);
68 68
     }
69 69
 
70
-    private function getCartItemToModify(OrderInterface $cart, ProductVariantInterface $productVariant): ?OrderItemInterface
70
+    private function getCartItemToModify(OrderInterface $cart, ProductVariantInterface $productVariant): ? OrderItemInterface
71 71
     {
72 72
         /** @var OrderItemInterface $cartItem */
73 73
         foreach ($cart->getItems() as $cartItem) {
Please login to merge, or discard this patch.
src/Processor/OrderShipmentProcessor.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\Processor;
6 6
 
Please login to merge, or discard this patch.
src/Controller/Customer/LoggedInCustomerDetailsAction.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\Controller\Customer;
6 6
 
Please login to merge, or discard this patch.
src/Controller/Customer/CustomerController.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\Controller\Customer;
6 6
 
Please login to merge, or discard this patch.