src/module-elasticsuite-swatches/Block/Navigation/Renderer/Swatches/RenderLayered.php
Showing 1 of 1 total issue
Function getSwatchData
has a Cognitive Complexity of 11 (exceeds 5 allowed). Consider refactoring. Open
Open
public function getSwatchData(): array { // Fallback to core if sorting is set to manual. if ($this->eavAttribute->getFacetSortOrder() === BucketInterface::SORT_ORDER_MANUAL) { return parent::getSwatchData();
- Read upRead up