Skip to content

Commit

Permalink
Fixed code style issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Stanislav Idolov authored and saphaljha committed Nov 23, 2018
1 parent a26b9bd commit 30a6d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/code/Magento/Review/Model/ResourceModel/Rating.php
Original file line number Diff line number Diff line change
Expand Up @@ -425,7 +425,7 @@ public function getReviewSummary($object, $onlyForCurrentStore = true)

$data = $connection->fetchAll($select, [':review_id' => $object->getReviewId()]);

$currentStore = ($this->_storeManager->isSingleStoreMode()) ? $this->_storeManager->getStore()->getId() : null ;
$currentStore = $this->_storeManager->isSingleStoreMode() ? $this->_storeManager->getStore()->getId() : null;

if ($onlyForCurrentStore) {
foreach ($data as $row) {
Expand Down

0 comments on commit 30a6d5a

Please sign in to comment.