Failed Conditions
Push — master ( 09f66d...6b086b )
by Łukasz
13s
created
src/Controller/Product/ShowLatestProductAction.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\Product;
6 6
 
Please login to merge, or discard this patch.
src/View/ProductListView.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\View;
6 6
 
Please login to merge, or discard this patch.
src/ViewRepository/ProductLatestViewRepository.php 1 patch
Spacing   +3 added lines, -3 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
 
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
         $this->productViewFactory = $productViewFactory;
40 40
     }
41 41
 
42
-    public function getLatestProducts(string $channelCode, ?string $localeCode, int $count): ProductListView
42
+    public function getLatestProducts(string $channelCode, ?string $localeCode, int $count) : ProductListView
43 43
     {
44 44
         $channel = $this->getChannel($channelCode);
45 45
         $localeCode = $this->getLocaleCode($localeCode, $channel);
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
         return $channel;
67 67
     }
68 68
 
69
-    private function getLocaleCode(?string $localeCode, ChannelInterface $channel): string
69
+    private function getLocaleCode(?string $localeCode, ChannelInterface $channel) : string
70 70
     {
71 71
         $localeCode = $localeCode ?? $channel->getDefaultLocale()->getCode();
72 72
         $this->assertLocaleSupport($localeCode, $channel->getLocales());
Please login to merge, or discard this patch.
src/ViewRepository/ProductLatestViewRepositoryInterface.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
 
@@ -8,5 +8,5 @@  discard block
 block discarded – undo
8 8
 
9 9
 interface ProductLatestViewRepositoryInterface
10 10
 {
11
-    public function getLatestProducts(string $channelCode, ?string $localeCode, int $count): ProductListView;
11
+    public function getLatestProducts(string $channelCode, ?string $localeCode, int $count) : ProductListView;
12 12
 }
Please login to merge, or discard this patch.