File tree Expand file tree Collapse file tree 1 file changed +10
-3
lines changed
app/code/Meta/Catalog/Plugin Expand file tree Collapse file tree 1 file changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -120,18 +120,25 @@ public function beforeReindexAll(Indexer $subject)
120
120
public function getChangelogBatchWalkerInstance ()
121
121
{
122
122
if ($ this ->isMagentoVersionLessThan ("2.4.7 " )) {
123
- return $ this ->objectManager ->create (
123
+ $ changeLogWalkerFactory = $ this ->objectManager ->create (
124
124
\Magento \Framework \Mview \View \ChangeLogBatchWalkerFactory::class // @phpstan-ignore-line
125
125
);
126
+ return $ changeLogWalkerFactory ->create (
127
+ \Magento \Framework \Mview \View \ChangeLogBatchWalker::class // @phpstan-ignore-line
128
+ );
126
129
}
127
- return $ this ->objectManager ->create (
130
+
131
+ $ changelogWalkerFactory = $ this ->objectManager ->create (
128
132
\Magento \Framework \Mview \View \ChangelogBatchWalkerFactory::class // @phpstan-ignore-line
129
133
);
134
+ return $ changelogWalkerFactory ->create (
135
+ \Magento \Framework \Mview \View \ChangelogBatchWalker::class // @phpstan-ignore-line
136
+ );
130
137
}
131
138
132
139
/**
133
140
* Returns true if the version is lower than the expected version
134
- *
141
+ *
135
142
* @param $version
136
143
* @return bool
137
144
*/
You can’t perform that action at this time.
0 commit comments