File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -837,7 +837,9 @@ public function getStoreIds()
837
837
}
838
838
foreach ($ websiteIds as $ websiteId ) {
839
839
$ websiteStores = $ this ->_storeManager ->getWebsite ($ websiteId )->getStoreIds ();
840
- $ storeIds = $ storeIds + $ websiteStores ;
840
+ foreach ($ websiteStores as $ websiteStore ) {
841
+ $ storeIds []= $ websiteStore ;
842
+ }
841
843
}
842
844
}
843
845
$ this ->setStoreIds ($ storeIds );
Original file line number Diff line number Diff line change @@ -470,9 +470,11 @@ public function testGetStoreSingleSiteModelIds(
470
470
471
471
$ this ->model ->isObjectNew ($ isObjectNew );
472
472
473
- $ this ->storeManager ->expects ($ this ->exactly (
474
- (int ) !$ isObjectNew
475
- ))
473
+ $ this ->storeManager ->expects (
474
+ $ this ->exactly (
475
+ (int ) !$ isObjectNew
476
+ )
477
+ )
476
478
->method ('isSingleStoreMode ' )
477
479
->will ($ this ->returnValue (true ));
478
480
You can’t perform that action at this time.
0 commit comments