Commit 7b93b69
authored
Add default empty array in constructor
This class its constructor argument `$tagGenerators` is empty by default in PHP, so that via DI argument types in `di.xml` files the array is filled automatically. This actually means that - without any runtime configuration of this argument - the PHP class has a required argument `$tagGenerators`.
In my cases, this is breaking DI compile when the modules `Magento_DirectoryGraphQl` and `Magento_StoreGraphQl` are disabled (and actually a lot of people will disable this module if they are not building a headless shop). This PR is a simple but required fix.1 parent 9e2eb99 commit 7b93b69
File tree
1 file changed
+1
-1
lines changed- app/code/Magento/Store/Model/Config/Cache/Tag/Strategy
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
| 26 | + | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| |||
0 commit comments