File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
app/code/Meta/Catalog/Plugin Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -110,14 +110,15 @@ public function beforeReindexAll(Indexer $subject)
110
110
*/
111
111
public function getChangelogBatchWalkerInstance ()
112
112
{
113
- if ( class_exists (\ Magento \ Framework \ Mview \ View \ChangeLogBatchWalkerFactory::class)) { // @phpstan-ignore-line
114
- $ changeLogWalkerFactory = $ this -> objectManager -> create (
115
- \ Magento \ Framework \ Mview \ View \ChangeLogBatchWalkerFactory::class // @phpstan-ignore-line
116
- );
113
+ $ changeLogWalkerFactory = $ this -> objectManager -> create (
114
+ \ Magento \ Framework \ Mview \ View \ChangeLogBatchWalkerFactory::class // @phpstan-ignore-line
115
+ );
116
+ if ( get_class ( $ changeLogWalkerFactory ) == " ChangeLogBatchWalkerFactory " ) {
117
117
return $ changeLogWalkerFactory ->create (
118
118
\Magento \Framework \Mview \View \ChangeLogBatchWalker::class // @phpstan-ignore-line
119
119
);
120
120
}
121
+
121
122
$ changelogWalkerFactory = $ this ->objectManager ->create (
122
123
\Magento \Framework \Mview \View \ChangelogBatchWalkerFactory::class // @phpstan-ignore-line
123
124
);
You can’t perform that action at this time.
0 commit comments