Commit 0cfd14e
authored
Enforce array type in DesignTheme config processor
Without this, an empty config node like `<my_store />` in a `config.xml` breaks installation, as `null` is passed to the private method.
Since it is private this change is 100% backwards compatible. I'm not adding a test case since not having regressions should be a sufficient merge criteria when adding types.1 parent f649184 commit 0cfd14e
File tree
1 file changed
+3
-6
lines changed- app/code/Magento/Theme/Model/Config/Processor
1 file changed
+3
-6
lines changedLines changed: 3 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | | - | |
| 57 | + | |
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
68 | | - | |
69 | | - | |
70 | | - | |
71 | 68 | | |
72 | | - | |
| 69 | + | |
73 | 70 | | |
74 | 71 | | |
75 | 72 | | |
| |||
0 commit comments