Skip to content

Commit e175976

Browse files
committed
MC-5232: Prefix field names with section name to avoid field name collision
- Fix static failures
1 parent 1b5ab34 commit e175976

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

app/code/Magento/PageBuilder/Model/Stage/Config/UiComponentConfig.php

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -72,11 +72,12 @@ function ($item, $key) {
7272
/**
7373
* Recursively generate our field array, allowing for dot notation within the key
7474
*
75-
* @param $array
76-
* @param $path
77-
* @param $value
75+
* @param array $array
76+
* @param string $path
77+
* @param string $value
7878
*/
79-
private function generateFieldArray(array &$array, $path, $value) {
79+
private function generateFieldArray(array &$array, $path, $value)
80+
{
8081
$keys = explode(".", $path);
8182

8283
foreach ($keys as $key) {

app/code/Magento/PageBuilder/view/adminhtml/requirejs-config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var config = {
1111

1212
/* Utilities */
1313
'google-map': 'Magento_PageBuilder/js/utils/map',
14-
'object-path': 'Magento_PageBuilder/js/resource/object-path',
14+
'object-path': 'Magento_PageBuilder/js/resource/object-path'
1515
}
1616
},
1717
shim: {

0 commit comments

Comments
 (0)