Skip to content

Commit acd4797

Browse files
committed
Fixed static test failures
1 parent 624a74b commit acd4797

File tree

1 file changed

+11
-2
lines changed
  • app/code/Magento/Reports/Block/Adminhtml/Shopcart/Product

1 file changed

+11
-2
lines changed

app/code/Magento/Reports/Block/Adminhtml/Shopcart/Product/Grid.php

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
/**
99
* Adminhtml products in carts report grid block
1010
*
11-
* @author Magento Core Team <core@magentocommerce.com>
1211
* @SuppressWarnings(PHPMD.DepthOfInheritance)
1312
*/
1413
class Grid extends \Magento\Reports\Block\Adminhtml\Grid\Shopcart
@@ -24,10 +23,12 @@ class Grid extends \Magento\Reports\Block\Adminhtml\Grid\Shopcart
2423
protected $queryResolver;
2524

2625
/**
26+
* Factory constructor
27+
*
2728
* @param \Magento\Backend\Block\Template\Context $context
2829
* @param \Magento\Backend\Helper\Data $backendHelper
29-
* @param \Magento\Reports\Model\ResourceModel\Quote\Item\CollectionFactory $quoteItemCollectionFactory
3030
* @param \Magento\Quote\Model\QueryResolver $queryResolver
31+
* @param \Magento\Reports\Model\ResourceModel\Quote\Item\CollectionFactory $quoteItemCollectionFactory
3132
* @param array $data
3233
*/
3334
public function __construct(
@@ -43,6 +44,8 @@ public function __construct(
4344
}
4445

4546
/**
47+
* Call Internal constructor
48+
*
4649
* @return void
4750
*/
4851
protected function _construct()
@@ -52,6 +55,8 @@ protected function _construct()
5255
}
5356

5457
/**
58+
* Prepare collection
59+
*
5560
* @return \Magento\Backend\Block\Widget\Grid
5661
*/
5762
protected function _prepareCollection()
@@ -64,6 +69,8 @@ protected function _prepareCollection()
6469
}
6570

6671
/**
72+
* Prepare columns
73+
*
6774
* @return \Magento\Backend\Block\Widget\Grid\Extended
6875
*/
6976
protected function _prepareColumns()
@@ -141,6 +148,8 @@ protected function _prepareColumns()
141148
}
142149

143150
/**
151+
* Get Row Url
152+
*
144153
* @param \Magento\Framework\DataObject $row
145154
*
146155
* @return string

0 commit comments

Comments
 (0)