Skip to content

Commit

Permalink
Style fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
ah-net committed Mar 5, 2025
1 parent 1d5c1de commit 8b06218
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion Model/Config.php
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,9 @@ public function getBatchSizeProductsChildren(): int
*/
public function isGroupedExport(StoreInterface $store = null): bool
{
return (bool) $this->config->getValue('tweakwise/export/grouped_export_enabled', ScopeInterface::SCOPE_STORE, $store);
return (bool) $this->config->getValue(
'tweakwise/export/grouped_export_enabled',
ScopeInterface::SCOPE_STORE, $store
);
}
}
1 change: 0 additions & 1 deletion Model/Write/Products/CollectionDecorator/Children.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,6 @@ protected function addChild(
$childEntity->addCategoryId($category);
}
}

} catch (InvalidArgumentException $exception) {
// no implementation, parent was not found
}
Expand Down
1 change: 1 addition & 0 deletions Model/Write/Products/ExportEntity.php
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,7 @@ protected function shouldExportByVisibility(): bool
if ($this->config->isGroupedExport($this->store)) {
return true;
}

return \in_array($this->getVisibility(), $this->visibilityObject->getVisibleInSiteIds(), true);
}

Expand Down

0 comments on commit 8b06218

Please sign in to comment.