Skip to content

Commit b4f5cfc

Browse files
authored
Fix property must not be accessed before initialization
1 parent 2d564db commit b4f5cfc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/Magento/Framework/Interception/PluginListGenerator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class PluginListGenerator implements ConfigWriterInterface, ConfigLoaderInterfac
3838
/**
3939
* @var array
4040
*/
41-
private array $pluginData;
41+
private array $pluginData = [];
4242

4343
/**
4444
* @var array
@@ -48,7 +48,7 @@ class PluginListGenerator implements ConfigWriterInterface, ConfigLoaderInterfac
4848
/**
4949
* @var array
5050
*/
51-
private array $processed;
51+
private array $processed = [];
5252

5353
/**
5454
* @var array

0 commit comments

Comments
 (0)