@@ -35,7 +35,8 @@ final class VineRequiredIfExistRule implements VineRule {
3535 }
3636
3737 if (! matchs.contains (false ) && field.value == null ) {
38- final error = ctx.errorReporter.format ('requiredIfExists' , field, null , {});
38+ final error =
39+ ctx.errorReporter.format ('requiredIfExists' , field, null , {});
3940 ctx.errorReporter.report ('requiredIfExists' , field.customKeys, error);
4041
4142 field.canBeContinue = false ;
@@ -61,7 +62,8 @@ final class VineRequiredIfAnyExistRule implements VineRule {
6162 }
6263
6364 if (hasMatch && field.value == null ) {
64- final error = ctx.errorReporter.format ('requiredIfExistsAny' , field, null , {});
65+ final error =
66+ ctx.errorReporter.format ('requiredIfExistsAny' , field, null , {});
6567 ctx.errorReporter.report ('requiredIfExistsAny' , field.customKeys, error);
6668
6769 field.canBeContinue = false ;
@@ -84,7 +86,8 @@ final class VineRequiredIfMissingRule implements VineRule {
8486 }
8587
8688 if (! matchs.contains (true ) && field.value == null ) {
87- final error = ctx.errorReporter.format ('requiredIfMissing' , field, null , {});
89+ final error =
90+ ctx.errorReporter.format ('requiredIfMissing' , field, null , {});
8891 ctx.errorReporter.report ('requiredIfMissing' , field.customKeys, error);
8992
9093 field.canBeContinue = false ;
@@ -110,7 +113,8 @@ final class VineRequiredIfAnyMissingRule implements VineRule {
110113 }
111114
112115 if (! hasMatch && field.value == null ) {
113- final error = ctx.errorReporter.format ('requiredIfMissingAny' , field, null , {});
116+ final error =
117+ ctx.errorReporter.format ('requiredIfMissingAny' , field, null , {});
114118 ctx.errorReporter.report ('requiredIfMissingAny' , field.customKeys, error);
115119
116120 field.canBeContinue = false ;
0 commit comments