src/module-elasticsuite-swatches/Model/Plugin/ProductImage.php
Showing 2 of 2 total issues
Function getFilterArray
has a Cognitive Complexity of 13 (exceeds 5 allowed). Consider refactoring. Open
Open
private function getFilterArray(array $request, \Magento\Catalog\Model\Product $product) { $filterArray = []; $attributes = $this->eavConfig->getEntityAttributes(\Magento\Catalog\Model\Product::ENTITY, $product);
- Read upRead up
Function beforeGetImage
has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring. Open
Open
public function beforeGetImage( \Magento\Catalog\Block\Product\AbstractProduct $subject, \Magento\Catalog\Model\Product $product, $location, array $attributes = []
- Read upRead up