<?php  namespace App\Rules;  use App\Models\ProductVariant; use Illuminate\Contracts\Validation\Rule;  class CheckIfVariantBelongsToProduct implements Rule { 	private string $productId;  	/** 	 * Create a new rule instance. 	 */ 	public function __construct(?string $id = null){}  	public function __toString(): string{}  	/** 	 * Determine if the validation rule passes. 	 * 	 * @param string $attribute 	 */ 	public function passes($attribute, $value): bool{}  	/** 	 * Get the validation error message. 	 */ 	public function message(): string|array{} }