File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
app/code/Magento/Wishlist/Setup/Patch/Data Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -58,7 +58,8 @@ public function __construct(
58
58
$ this ->moduleDataSetup = $ moduleDataSetup ;
59
59
$ this ->json = $ json ?: ObjectManager::getInstance ()->get (Json::class);
60
60
$ this ->queryGenerator = $ queryGenerator ?: ObjectManager::getInstance ()->get (Generator::class);
61
- $ this ->queryModifierFactory = $ queryModifierFactory ?: ObjectManager::getInstance ()->get (QueryModifierFactory::class);
61
+ $ this ->queryModifierFactory = $ queryModifierFactory
62
+ ?: ObjectManager::getInstance ()->get (QueryModifierFactory::class);
62
63
}
63
64
64
65
/**
@@ -75,7 +76,7 @@ public function apply()
75
76
['option_id ' , 'value ' ]
76
77
);
77
78
$ iterator = $ this ->queryGenerator ->generate ('option_id ' , $ select , self ::BATCH_SIZE );
78
- foreach ($ iterator as $ key => $ selectByRange ) {
79
+ foreach ($ iterator as $ selectByRange ) {
79
80
$ optionRows = $ this ->moduleDataSetup ->getConnection ()->fetchAll ($ selectByRange );
80
81
foreach ($ optionRows as $ optionRow ) {
81
82
$ rowValue = $ this ->json ->unserialize ($ optionRow ['value ' ]);
You can’t perform that action at this time.
0 commit comments