passes($attribute, $value); }); Rule::macro('requiredIfAny', function ($table, ...$columns) { return new RequiredIfAny($table, ...$columns); }); } }