File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
app/code/Magento/PageBuilder
Controller/Adminhtml/GoogleMaps Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ public function __construct(
57
57
);
58
58
$ this ->url = $ url ;
59
59
$ this ->scopeConfig = $ scopeConfig ;
60
- $ this ->ApiKeyValidator = $ apiKeyValidator ;
60
+ $ this ->apiKeyValidator = $ apiKeyValidator ;
61
61
}
62
62
63
63
/**
@@ -70,7 +70,7 @@ public function prepare()
70
70
parent ::prepare ();
71
71
$ config = $ this ->getData ('config ' );
72
72
$ apiKey = $ this ->scopeConfig ->getValue (self ::GOOGLE_MAPS_API_KEY_PATH ) ?: "" ;
73
- $ response = $ this ->ApiKeyValidator ->validate ($ apiKey );
73
+ $ response = $ this ->apiKeyValidator ->validate ($ apiKey );
74
74
if (!$ response ['success ' ]) {
75
75
$ config ['visible ' ] = true ;
76
76
}
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ public function __construct(
29
29
\Magento \PageBuilder \Model \GoogleMaps \ApiKeyValidator $ apiKeyValidator
30
30
) {
31
31
parent ::__construct ($ context );
32
- $ this ->ApiKeyValidator = $ apiKeyValidator ;
32
+ $ this ->apiKeyValidator = $ apiKeyValidator ;
33
33
}
34
34
35
35
/**
@@ -40,6 +40,6 @@ public function __construct(
40
40
public function execute ()
41
41
{
42
42
$ apiKey = $ this ->getRequest ()->getParam ('key ' );
43
- return $ this ->resultFactory ->create (ResultFactory::TYPE_JSON )->setData ($ this ->ApiKeyValidator ->validate ($ apiKey ));
43
+ return $ this ->resultFactory ->create (ResultFactory::TYPE_JSON )->setData ($ this ->apiKeyValidator ->validate ($ apiKey ));
44
44
}
45
45
}
You can’t perform that action at this time.
0 commit comments