public function scopeSearchByTagIds(Builder $query, ?array $tags = []): Builder 	{ 		return empty($tags) ? $query : $query->whereHas('tags', function ($query) use ($tags): void { 			$query->whereIn('tag_id', $tags); 		}); 	}