Skip to content

Commit 21ded76

Browse files
committed
Implemented the review comments
1 parent e53ad73 commit 21ded76

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/code/Magento/Catalog/Helper/Product/View.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,7 +302,7 @@ public function prepareAndRender(ResultPage $resultPage, $productId, $controller
302302
* @param string $title
303303
* @return string
304304
*/
305-
private function addConfigValues($title)
305+
private function addConfigValues($title): string
306306
{
307307
$preparedTitle = $this->scopeConfig->getValue(
308308
'design/head/title_prefix',

app/code/Magento/ConfigurableProduct/Model/LinkManagement.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ class LinkManagement implements \Magento\ConfigurableProduct\Api\LinkManagementI
5252
/**
5353
* @var ProductRepository|mixed
5454
*/
55-
public \Magento\Catalog\Model\ProductRepository $mediaGallery;
55+
private \Magento\Catalog\Model\ProductRepository $mediaGallery;
5656

5757
/**
5858
* @var ProductAttributeMediaGalleryEntryInterfaceFactory|mixed
@@ -136,7 +136,7 @@ public function getChildren($sku)
136136
* @param array $images
137137
* @return array
138138
*/
139-
public function getMediaEntries($images)
139+
public function getMediaEntries($images): array
140140
{
141141
$media = $this->myModelFactory->create();
142142
$mediaGalleryEntries=[];

0 commit comments

Comments
 (0)