public function getOperatorName() { $operatorName = parent::getOperatorName(); if (in_array($this->getAttribute(), ['stock.is_in_stock', 'has_image', 'price.is_discount'])) { $operatorName = ' '; } return $operatorName; }