Skip to content

Commit a78bb8e

Browse files
p-bystritskyShikha Mishra
authored and
Shikha Mishra
committed
magento#22291: Static test fix.
1 parent 35ca37e commit a78bb8e

File tree

1 file changed

+7
-9
lines changed
  • app/code/Magento/Reports/Model/ResourceModel/Product/Downloads

1 file changed

+7
-9
lines changed

app/code/Magento/Reports/Model/ResourceModel/Product/Downloads/Collection.php

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
* See COPYING.txt for license details.
55
*/
66

7+
namespace Magento\Reports\Model\ResourceModel\Product\Downloads;
8+
79
/**
810
* Product Downloads Report collection
911
*
1012
* @author Magento Core Team <[email protected]>
11-
*/
12-
namespace Magento\Reports\Model\ResourceModel\Product\Downloads;
13-
14-
/**
13+
*
1514
* @api
1615
* @since 100.0.2
16+
* @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
1717
*/
1818
class Collection extends \Magento\Catalog\Model\ResourceModel\Product\Collection
1919
{
@@ -97,13 +97,11 @@ public function addFieldToFilter($field, $condition = null)
9797
}
9898
return $this;
9999
}
100-
100+
101101
/**
102-
* Get SQL for get record count without left JOINs and group
103-
*
104-
* @return \Magento\Framework\DB\Select
102+
* @inheritDoc
105103
*/
106-
public function getSelectCountSql()
104+
public function getSelectCountSql()
107105
{
108106
$countSelect = parent::getSelectCountSql();
109107
$countSelect->reset(\Zend\Db\Sql\Select::GROUP);

0 commit comments

Comments
 (0)