Skip to content

Commit 15895a9

Browse files
committed
AC-11439: Product review report fix
* Code formatting
1 parent b8544d0 commit 15895a9

File tree

1 file changed

+9
-2
lines changed
  • app/code/Magento/Reports/Controller/Adminhtml/Report

1 file changed

+9
-2
lines changed

app/code/Magento/Reports/Controller/Adminhtml/Report/Review.php

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,9 +61,16 @@ public function _initAction()
6161
protected function _isAllowed()
6262
{
6363
return match ($this->getRequest()->getActionName()) {
64-
'exportCustomerCsv', 'exportCustomerExcel', 'customer' =>
64+
'exportCustomerCsv',
65+
'exportCustomerExcel',
66+
'customer' =>
6567
$this->_authorization->isAllowed('Magento_Reports::review_customer'),
66-
'exportProductCsv', 'exportProductExcel', 'exportProductDetailCsv', 'exportProductDetailExcel', 'productDetail', 'product' =>
68+
'exportProductCsv',
69+
'exportProductExcel',
70+
'exportProductDetailCsv',
71+
'exportProductDetailExcel',
72+
'productDetail',
73+
'product' =>
6774
$this->_authorization->isAllowed('Magento_Reports::review_product'),
6875
default =>
6976
$this->_authorization->isAllowed('Magento_Reports::review'),

0 commit comments

Comments
 (0)