whereNotIn($this->argument->field, $this->formatValue()); } public function toOrQueryBuilder(Builder $builder): Builder { return $builder->orWhereNotIn($this->argument->field, $this->formatValue()); } private function formatValue(): array { $value = $this->argument->value; if (is_string($value)) { $value = explode(",", $value); } return array_map(fn($v) => trim($v), $value); } }