Skip to content

Commit

Permalink
Merge pull request #668 from magento-folks/public
Browse files Browse the repository at this point in the history
[Folks] Merge Public PRs
  • Loading branch information
Korshenko, Olexii(okorshenko) committed Oct 2, 2015
2 parents f8cc46a + 1ee941e commit 6e7c85c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions app/code/Magento/Catalog/Model/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
* @method string getUrlKey()
* @method Product setUrlKey(string $urlKey)
* @method Product setRequestPath(string $requestPath)
* @method Product setWebsiteIds(array $ids)
*
* @SuppressWarnings(PHPMD.LongVariable)
* @SuppressWarnings(PHPMD.ExcessivePublicCount)
Expand Down
5 changes: 3 additions & 2 deletions app/code/Magento/Quote/Model/QuoteManagement.php
Original file line number Diff line number Diff line change
Expand Up @@ -467,8 +467,9 @@ protected function submitQuote(QuoteEntity $quote, $orderData = [])
$this->eventManager->dispatch(
'sales_model_service_quote_submit_failure',
[
'order' => $order,
'quote' => $quote
'order' => $order,
'quote' => $quote,
'exception' => $e
]
);
throw $e;
Expand Down
4 changes: 2 additions & 2 deletions app/code/Magento/Theme/Model/View/Design.php
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ public function getConfigurationDesignTheme($area = null, array $params = [])
$theme = null;
$store = isset($params['store']) ? $params['store'] : null;

if ($this->_isThemePerStoveView($area)) {
if ($this->_isThemePerStoreView($area)) {
if ($this->_storeManager->isSingleStoreMode()) {
$theme = $this->_scopeConfig->getValue(
self::XML_PATH_THEME_ID,
Expand Down Expand Up @@ -197,7 +197,7 @@ public function getConfigurationDesignTheme($area = null, array $params = [])
* @param string $area
* @return bool
*/
private function _isThemePerStoveView($area)
private function _isThemePerStoreView($area)
{
return $area == self::DEFAULT_AREA;
}
Expand Down

0 comments on commit 6e7c85c

Please sign in to comment.