Skip to content

Commit e8d2a5e

Browse files
committed
MC-39132: [MAGENTO CLOUD] PWA causing failed Magento Tester results
1 parent ad29452 commit e8d2a5e

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
@@ -227,15 +227,15 @@ public function loadScopedVirtualTypes($scopePriorityScheme, $loadedScopes, $plu
227227
$data = $this->reader->read($scopeCode) ?: [];
228228
unset($data['preferences']);
229229
if (count($data) > 0) {
230-
$inherited = [];
231-
$processed = [];
232230
$pluginData = $this->merge($data, $pluginData);
233231
foreach ($data as $class => $config) {
234232
if (isset($config['type'])) {
235233
$virtualTypes[] = $class;
236234
}
237235
}
238236
}
237+
$inherited = [];
238+
$processed = [];
239239
$loadedScopes[$scopeCode] = true;
240240
}
241241
if ($this->isCurrentScope($scopeCode)) {

0 commit comments

Comments
 (0)