@@ -49,7 +49,7 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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()); |
@@ -49,7 +49,7 @@ |
||
| 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(); |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | |
| 9 | 9 | interface ProductDetailsViewRepositoryInterface |
| 10 | 10 | { |
| 11 | - public function findOneBySlug(string $productSlug, string $channelCode, ?string $localeCode): ProductView; |
|
| 11 | + public function findOneBySlug(string $productSlug, string $channelCode, ? string $localeCode) : ProductView; |
|
| 12 | 12 | |
| 13 | - public function findOneByCode(string $productCode, string $channelCode, ?string $localeCode): ProductView; |
|
| 13 | + public function findOneByCode(string $productCode, string $channelCode, ? string $localeCode) : ProductView; |
|
| 14 | 14 | } |
@@ -7,7 +7,7 @@ |
||
| 7 | 7 | |
| 8 | 8 | interface ProductCatalogViewRepositoryInterface |
| 9 | 9 | { |
| 10 | - public function findByTaxonSlug(string $taxonSlug, string $channelCode, PaginatorDetails $paginatorDetails, ?string $localeCode): PageView; |
|
| 10 | + public function findByTaxonSlug(string $taxonSlug, string $channelCode, PaginatorDetails $paginatorDetails, ? string $localeCode) : PageView; |
|
| 11 | 11 | |
| 12 | - public function findByTaxonCode(string $taxonCode, string $channelCode, PaginatorDetails $paginatorDetails, ?string $localeCode): PageView; |
|
| 12 | + public function findByTaxonCode(string $taxonCode, string $channelCode, PaginatorDetails $paginatorDetails, ? string $localeCode) : PageView; |
|
| 13 | 13 | } |
@@ -9,7 +9,7 @@ |
||
| 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 | } |