G_VALUE); } $type = $data['count_type']; $validTypes = [ '=', '!=', '>', '<', ]; if (!in_array($type, $validTypes, true)) { throw new InvalidFilterException('Invalid count type', InvalidFilterException::INVALID_TYPE); } if (!isset($data['count'])) { throw new InvalidFilterException('Missing review count', InvalidFilterException::MISSING_VALUE); } $this->filterHelper->validateDaysPeriodData($data); } public function getLookupData(DynamicSegmentFilterData $filterData): array { return []; } }