Skip to content

Commit c68e6b6

Browse files
committed
MC-14937: Complete Page Builder Analytics data collection
- fix code formatting
1 parent 7fc68db commit c68e6b6

File tree

3 files changed

+43
-45
lines changed

3 files changed

+43
-45
lines changed
Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
{
2-
"name": "magento/module-catalog-page-builder-analytics",
3-
"description": "Catalog Page Builder Analytics module",
4-
"config": {
5-
"sort-packages": true
6-
},
7-
"require": {
8-
"magento/module-page-builder-analytics": "*",
9-
"magento/module-catalog": "*",
10-
"magento/framework": "*",
11-
"php": "~7.1.3||~7.2.0"
12-
},
13-
"type": "magento2-module",
14-
"license": [
15-
"proprietary"
16-
],
17-
"autoload": {
18-
"files": [
19-
"registration.php"
2+
"name": "magento/module-catalog-page-builder-analytics",
3+
"description": "Catalog Page Builder Analytics module",
4+
"config": {
5+
"sort-packages": true
6+
},
7+
"require": {
8+
"magento/module-page-builder-analytics": "*",
9+
"magento/module-catalog": "*",
10+
"magento/framework": "*",
11+
"php": "~7.1.3||~7.2.0"
12+
},
13+
"type": "magento2-module",
14+
"license": [
15+
"proprietary"
2016
],
21-
"psr-4": {
22-
"Magento\\CatalogPageBuilderAnalytics\\": ""
17+
"autoload": {
18+
"files": [
19+
"registration.php"
20+
],
21+
"psr-4": {
22+
"Magento\\CatalogPageBuilderAnalytics\\": ""
23+
}
2324
}
24-
}
2525
}
Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
{
2-
"name": "magento/module-cms-page-builder-analytics",
3-
"description": "CMS Page Builder Analytics module",
4-
"config": {
5-
"sort-packages": true
6-
},
7-
"require": {
8-
"magento/module-page-builder-analytics": "*",
9-
"magento/module-cms": "*",
10-
"magento/framework": "*",
11-
"php": "~7.1.3||~7.2.0"
12-
},
13-
"type": "magento2-module",
14-
"license": [
15-
"proprietary"
16-
],
17-
"autoload": {
18-
"files": [
19-
"registration.php"
2+
"name": "magento/module-cms-page-builder-analytics",
3+
"description": "CMS Page Builder Analytics module",
4+
"config": {
5+
"sort-packages": true
6+
},
7+
"require": {
8+
"magento/module-page-builder-analytics": "*",
9+
"magento/module-cms": "*",
10+
"magento/framework": "*",
11+
"php": "~7.1.3||~7.2.0"
12+
},
13+
"type": "magento2-module",
14+
"license": [
15+
"proprietary"
2016
],
21-
"psr-4": {
22-
"Magento\\CmsPageBuilderAnalytics\\": ""
17+
"autoload": {
18+
"files": [
19+
"registration.php"
20+
],
21+
"psr-4": {
22+
"Magento\\CmsPageBuilderAnalytics\\": ""
23+
}
2324
}
24-
}
2525
}

app/code/Magento/PageBuilderAnalytics/Model/ContentTypeUsageReportProvider.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -127,8 +127,6 @@ private function getRowCount(AdapterInterface $connection, Query $query) : strin
127127
$countSelect->reset(\Magento\Framework\DB\Select::COLUMNS)
128128
->columns(['row_count' => new \Zend_Db_Expr('COUNT(*)')]);
129129

130-
return $connection->fetchOne(
131-
$countSelect
132-
);
130+
return $connection->fetchOne($countSelect);
133131
}
134132
}

0 commit comments

Comments
 (0)