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