Skip to content

Commit 653c6aa

Browse files
committed
MAGETWO-86143: Disable statistic collecting for Reports module
1 parent a2293fc commit 653c6aa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

app/code/Magento/Reports/Model/Event/IsReportEnabled.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
* Copyright © Magento, Inc. All rights reserved.
44
* See COPYING.txt for license details.
55
*/
6+
declare(strict_types=1);
7+
68
namespace Magento\Reports\Model\Event;
79

810
use Magento\Framework\App\Config\ScopeConfigInterface;
@@ -45,7 +47,7 @@ public function execute(string $reportEventType): bool
4547
* @return string
4648
* @throws InputException
4749
*/
48-
private function getConfigPathByEventType(string $reportEventType): ?string
50+
private function getConfigPathByEventType(string $reportEventType): string
4951
{
5052
$typeToPathMap = [
5153
Event::EVENT_PRODUCT_VIEW => 'reports/options/product_view_enabled',

0 commit comments

Comments
 (0)