We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a2293fc commit 653c6aaCopy full SHA for 653c6aa
app/code/Magento/Reports/Model/Event/IsReportEnabled.php
@@ -3,6 +3,8 @@
3
* Copyright © Magento, Inc. All rights reserved.
4
* See COPYING.txt for license details.
5
*/
6
+declare(strict_types=1);
7
+
8
namespace Magento\Reports\Model\Event;
9
10
use Magento\Framework\App\Config\ScopeConfigInterface;
@@ -45,7 +47,7 @@ public function execute(string $reportEventType): bool
45
47
* @return string
46
48
* @throws InputException
49
- private function getConfigPathByEventType(string $reportEventType): ?string
50
+ private function getConfigPathByEventType(string $reportEventType): string
51
{
52
$typeToPathMap = [
53
Event::EVENT_PRODUCT_VIEW => 'reports/options/product_view_enabled',
0 commit comments