Skip to content

Commit 976803b

Browse files
committed
MC-14937: Complete Page Builder Analytics data collection
- Add defaults to configProviders
1 parent 4488e63 commit 976803b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

app/code/Magento/GiftMessage/Model/CompositeConfigProvider.php

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77

88
use Magento\Checkout\Model\ConfigProviderInterface;
99

10+
/**
11+
* Class CompositeConfigProvider
12+
*/
1013
class CompositeConfigProvider implements ConfigProviderInterface
1114
{
1215
/**
@@ -18,13 +21,13 @@ class CompositeConfigProvider implements ConfigProviderInterface
1821
* @param ConfigProviderInterface[] $configProviders
1922
*/
2023
public function __construct(
21-
array $configProviders
24+
array $configProviders = []
2225
) {
2326
$this->configProviders = $configProviders;
2427
}
2528

2629
/**
27-
* {@inheritdoc}
30+
* @inheritdoc
2831
*/
2932
public function getConfig()
3033
{

0 commit comments

Comments
 (0)