Skip to content

Commit da07ee3

Browse files
AC-2574 updated variable scope as used in google tag manager module
1 parent 6e63230 commit da07ee3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

app/code/Magento/GoogleGtag/Model/Config/GtagConfig.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ class GtagConfig
1616
/**
1717
* Config paths for using throughout the code
1818
*/
19-
private const XML_PATH_ACTIVE = 'google/gtag/analytics4/active';
19+
protected const XML_PATH_ACTIVE = 'google/gtag/analytics4/active';
2020

21-
private const XML_PATH_MEASUREMENT_ID = 'google/gtag/analytics4/measurement_id';
21+
protected const XML_PATH_MEASUREMENT_ID = 'google/gtag/analytics4/measurement_id';
2222

2323
/**
2424
* Google AdWords conversion src
@@ -37,7 +37,7 @@ class GtagConfig
3737
/**
3838
* @var ScopeConfigInterface
3939
*/
40-
private $scopeConfig;
40+
protected $scopeConfig;
4141

4242
/**
4343
* @param ScopeConfigInterface $scopeConfig

0 commit comments

Comments
 (0)