Failed Conditions
Pull Request — master (#218)
by Kamil
02:39
created
src/Command/SendResetPasswordToken.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\Command;
6 6
 
Please login to merge, or discard this patch.
src/Command/AddProductReviewBySlug.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\Command;
6 6
 
Please login to merge, or discard this patch.
src/Command/RemoveItemFromCart.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\Command;
6 6
 
Please login to merge, or discard this patch.
src/Command/RemoveCoupon.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\Command;
6 6
 
Please login to merge, or discard this patch.
src/Command/GenerateResetPasswordToken.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\Command;
6 6
 
Please login to merge, or discard this patch.
src/Command/ChangeItemQuantity.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\Command;
6 6
 
Please login to merge, or discard this patch.
src/Model/PaginatorDetails.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\Model;
6 6
 
Please login to merge, or discard this patch.
src/ViewRepository/ProductCatalogViewRepository.php 1 patch
Spacing   +4 added lines, -4 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\ViewRepository;
6 6
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         $this->pageViewFactory = $pageViewFactory;
50 50
     }
51 51
 
52
-    public function findByTaxonSlug(string $taxonSlug, string $channelCode, PaginatorDetails $paginatorDetails, ?string $localeCode): PageView
52
+    public function findByTaxonSlug(string $taxonSlug, string $channelCode, PaginatorDetails $paginatorDetails, ?string $localeCode) : PageView
53 53
     {
54 54
         $channel = $this->getChannel($channelCode);
55 55
         $localeCode = $this->getLocaleCode($localeCode, $channel);
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         return $this->findByTaxon($taxon, $channel, $paginatorDetails, $localeCode);
64 64
     }
65 65
 
66
-    public function findByTaxonCode(string $taxonCode, string $channelCode, PaginatorDetails $paginatorDetails, ?string $localeCode): PageView
66
+    public function findByTaxonCode(string $taxonCode, string $channelCode, PaginatorDetails $paginatorDetails, ?string $localeCode) : PageView
67 67
     {
68 68
         $channel = $this->getChannel($channelCode);
69 69
         $localeCode = $this->getLocaleCode($localeCode, $channel);
@@ -101,7 +101,7 @@  discard block
 block discarded – undo
101 101
         return $channel;
102 102
     }
103 103
 
104
-    private function getLocaleCode(?string $localeCode, ChannelInterface $channel): string
104
+    private function getLocaleCode(?string $localeCode, ChannelInterface $channel) : string
105 105
     {
106 106
         $localeCode = $localeCode ?? $channel->getDefaultLocale()->getCode();
107 107
         $this->assertLocaleSupport($localeCode, $channel->getLocales());
Please login to merge, or discard this patch.
src/ViewRepository/ProductReviewsViewRepository.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\ViewRepository;
6 6
 
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
         $this->pageViewFactory = $pageViewFactory;
50 50
     }
51 51
 
52
-    public function getByProductSlug(string $productSlug, string $channelCode, PaginatorDetails $paginatorDetails, ?string $localeCode): PageView
52
+    public function getByProductSlug(string $productSlug, string $channelCode, PaginatorDetails $paginatorDetails, ?string $localeCode) : PageView
53 53
     {
54 54
         $channel = $this->getChannel($channelCode);
55 55
         $localeCode = $localeCode ?? $channel->getDefaultLocale()->getCode();
Please login to merge, or discard this patch.