Skip to content

Commit

Permalink
magento#16298 fix travis issue
Browse files Browse the repository at this point in the history
  • Loading branch information
molneek committed Sep 8, 2018
1 parent 3fdc6f8 commit 102f170
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ public function resolve($scopeType, $scopeCode = null)
) {
$scopeResolver = $this->scopeResolverPool->get($scopeType);
$resolverScopeCode = $scopeResolver->getScope($scopeCode);
$scopeCode = $resolverScopeCode->getCode();
} else {
$resolverScopeCode = $scopeCode;
}

if ($resolverScopeCode instanceof \Magento\Framework\App\ScopeInterface) {
$resolverScopeCode = $resolverScopeCode->getCode();
$scopeCode = $resolverScopeCode;
}

$this->resolvedScopeCodes[$scopeType][$scopeCode] = $resolverScopeCode;
Expand Down

0 comments on commit 102f170

Please sign in to comment.