Completed
Pull Request — master (#172)
by Łukasz
02:52
created
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/TaxonDetailsViewFactory.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -45,6 +45,9 @@
 block discarded – undo
45 45
         return $currentTaxonView;
46 46
     }
47 47
 
48
+    /**
49
+     * @param string $locale
50
+     */
48 51
     private function buildTaxonView(TaxonInterface $taxon, $locale): TaxonView
49 52
     {
50 53
         $taxonView = $this->taxonViewFactory->create($taxon, $locale);
Please login to merge, or discard this patch.