Skip to content

Commit 78077bd

Browse files
committed
MAGETWO-91439: Prices disappearing when product is assigned to a different store and default store is disabled
- fix static
1 parent 1d054f5 commit 78077bd

File tree

5 files changed

+9
-3
lines changed

5 files changed

+9
-3
lines changed

app/code/Magento/Store/Block/Switcher.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
use Magento\Framework\Url\Helper\Data as UrlHelper;
1818

1919
/**
20+
* Switcher block
21+
*
2022
* @api
2123
* @since 100.0.2
2224
*/

app/code/Magento/Store/Model/Argument/Interpreter/ServiceUrl.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ private function getServiceUrl()
7676
/**
7777
* Compute and return effective value of an argument
7878
*
79+
* @param array $data
7980
* @return string
8081
* @throws \InvalidArgumentException
8182
*/

app/code/Magento/Store/Model/StoreResolver.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ public function __construct(
9090
}
9191

9292
/**
93-
* {@inheritdoc}
93+
* @inheritdoc
9494
*/
9595
public function getCurrentStoreId()
9696
{

app/code/Magento/Store/Model/StoresData.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,10 @@ public function __construct(
5151
* Get stores data
5252
*
5353
* @param string $runMode
54-
* @param string $scopeCode
54+
* @param string|null $scopeCode
5555
* @return array
5656
*/
57-
public function getStoresData(string $runMode, string $scopeCode) : array
57+
public function getStoresData(string $runMode, string $scopeCode = null) : array
5858
{
5959
$cacheKey = 'resolved_stores_' . md5($runMode . $scopeCode);
6060
$cacheData = $this->cache->load($cacheKey);

app/code/Magento/Webapi/Controller/PathProcessor.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@
88

99
use Magento\Framework\Exception\NoSuchEntityException;
1010

11+
/**
12+
* Class PathProcessor
13+
*/
1114
class PathProcessor
1215
{
1316
/** Store code alias to indicate that all stores should be affected by action */

0 commit comments

Comments
 (0)