@@ -41,15 +41,15 @@ public function callback(
4141 callable |array |string |null $ callback = null ,
4242 ?array $ groups = null ,
4343 mixed $ payload = null ,
44- array $ options = [] ,
44+ ? array $ options = null ,
4545 ): ChainedValidatorInterface &Validator ;
4646
4747 public function cardScheme (
4848 array |string |null $ schemes ,
4949 ?string $ message = null ,
5050 ?array $ groups = null ,
5151 mixed $ payload = null ,
52- array $ options = [] ,
52+ ? array $ options = null ,
5353 ): ChainedValidatorInterface &Validator ;
5454
5555 public function cascade (
@@ -113,7 +113,7 @@ public function count(
113113 ?string $ divisibleByMessage = null ,
114114 ?array $ groups = null ,
115115 mixed $ payload = null ,
116- array $ options = [] ,
116+ ? array $ options = null ,
117117 ): ChainedValidatorInterface &Validator ;
118118
119119 public function country (
@@ -151,11 +151,12 @@ public function dateTime(
151151 ?string $ message = null ,
152152 ?array $ groups = null ,
153153 mixed $ payload = null ,
154- array $ options = [] ,
154+ ? array $ options = null ,
155155 ): ChainedValidatorInterface &Validator ;
156156
157157 public function disableAutoMapping (
158158 ?array $ options = null ,
159+ mixed $ payload = null ,
159160 ): ChainedValidatorInterface &Validator ;
160161
161162 public function divisibleBy (
@@ -164,7 +165,7 @@ public function divisibleBy(
164165 ?string $ message = null ,
165166 ?array $ groups = null ,
166167 mixed $ payload = null ,
167- array $ options = [] ,
168+ ? array $ options = null ,
168169 ): ChainedValidatorInterface &Validator ;
169170
170171 public function email (
@@ -178,6 +179,7 @@ public function email(
178179
179180 public function enableAutoMapping (
180181 ?array $ options = null ,
182+ mixed $ payload = null ,
181183 ): ChainedValidatorInterface &Validator ;
182184
183185 public function equalTo (
@@ -186,7 +188,7 @@ public function equalTo(
186188 ?string $ message = null ,
187189 ?array $ groups = null ,
188190 mixed $ payload = null ,
189- array $ options = [] ,
191+ ? array $ options = null ,
190192 ): ChainedValidatorInterface &Validator ;
191193
192194 public function expression (
@@ -195,7 +197,7 @@ public function expression(
195197 ?array $ values = null ,
196198 ?array $ groups = null ,
197199 mixed $ payload = null ,
198- array $ options = [] ,
200+ ? array $ options = null ,
199201 ?bool $ negate = null ,
200202 ): ChainedValidatorInterface &Validator ;
201203
@@ -232,6 +234,9 @@ public function file(
232234 mixed $ payload = null ,
233235 array |string |null $ extensions = null ,
234236 ?string $ extensionsMessage = null ,
237+ ?string $ filenameCharset = null ,
238+ ?string $ filenameCountUnit = null ,
239+ ?string $ filenameCharsetMessage = null ,
235240 ): ChainedValidatorInterface &Validator ;
236241
237242 public function greaterThan (
@@ -240,7 +245,7 @@ public function greaterThan(
240245 ?string $ message = null ,
241246 ?array $ groups = null ,
242247 mixed $ payload = null ,
243- array $ options = [] ,
248+ ? array $ options = null ,
244249 ): ChainedValidatorInterface &Validator ;
245250
246251 public function greaterThanOrEqual (
@@ -249,7 +254,7 @@ public function greaterThanOrEqual(
249254 ?string $ message = null ,
250255 ?array $ groups = null ,
251256 mixed $ payload = null ,
252- array $ options = [] ,
257+ ? array $ options = null ,
253258 ): ChainedValidatorInterface &Validator ;
254259
255260 public function hostname (
@@ -273,7 +278,7 @@ public function identicalTo(
273278 ?string $ message = null ,
274279 ?array $ groups = null ,
275280 mixed $ payload = null ,
276- array $ options = [] ,
281+ ? array $ options = null ,
277282 ): ChainedValidatorInterface &Validator ;
278283
279284 public function image (
@@ -323,6 +328,11 @@ public function image(
323328 ?string $ corruptedMessage = null ,
324329 ?array $ groups = null ,
325330 mixed $ payload = null ,
331+ array |string |null $ extensions = null ,
332+ ?string $ extensionsMessage = null ,
333+ ?string $ filenameCharset = null ,
334+ ?string $ filenameCountUnit = null ,
335+ ?string $ filenameCharsetMessage = null ,
326336 ): ChainedValidatorInterface &Validator ;
327337
328338 public function ip (
@@ -363,7 +373,7 @@ public function isbn(
363373 ?string $ bothIsbnMessage = null ,
364374 ?array $ groups = null ,
365375 mixed $ payload = null ,
366- array $ options = [] ,
376+ ? array $ options = null ,
367377 ): ChainedValidatorInterface &Validator ;
368378
369379 public function isin (
@@ -410,7 +420,7 @@ public function length(
410420 ?string $ charsetMessage = null ,
411421 ?array $ groups = null ,
412422 mixed $ payload = null ,
413- array $ options = [] ,
423+ ? array $ options = null ,
414424 ): ChainedValidatorInterface &Validator ;
415425
416426 public function lessThan (
@@ -419,7 +429,7 @@ public function lessThan(
419429 ?string $ message = null ,
420430 ?array $ groups = null ,
421431 mixed $ payload = null ,
422- array $ options = [] ,
432+ ? array $ options = null ,
423433 ): ChainedValidatorInterface &Validator ;
424434
425435 public function lessThanOrEqual (
@@ -428,7 +438,7 @@ public function lessThanOrEqual(
428438 ?string $ message = null ,
429439 ?array $ groups = null ,
430440 mixed $ payload = null ,
431- array $ options = [] ,
441+ ? array $ options = null ,
432442 ): ChainedValidatorInterface &Validator ;
433443
434444 public function locale (
@@ -505,7 +515,7 @@ public function notEqualTo(
505515 ?string $ message = null ,
506516 ?array $ groups = null ,
507517 mixed $ payload = null ,
508- array $ options = [] ,
518+ ? array $ options = null ,
509519 ): ChainedValidatorInterface &Validator ;
510520
511521 public function notIdenticalTo (
@@ -514,7 +524,7 @@ public function notIdenticalTo(
514524 ?string $ message = null ,
515525 ?array $ groups = null ,
516526 mixed $ payload = null ,
517- array $ options = [] ,
527+ ? array $ options = null ,
518528 ): ChainedValidatorInterface &Validator ;
519529
520530 public function notNull (
@@ -575,7 +585,7 @@ public function regex(
575585 ?callable $ normalizer = null ,
576586 ?array $ groups = null ,
577587 mixed $ payload = null ,
578- array $ options = [] ,
588+ ? array $ options = null ,
579589 ): ChainedValidatorInterface &Validator ;
580590
581591 public function required (
@@ -605,19 +615,20 @@ public function timezone(
605615 ?bool $ intlCompatible = null ,
606616 ?array $ groups = null ,
607617 mixed $ payload = null ,
608- array $ options = [] ,
618+ ? array $ options = null ,
609619 ): ChainedValidatorInterface &Validator ;
610620
611621 public function traverse (
612622 array |bool |null $ traverse = null ,
623+ mixed $ payload = null ,
613624 ): ChainedValidatorInterface &Validator ;
614625
615626 public function type (
616627 array |string |null $ type ,
617628 ?string $ message = null ,
618629 ?array $ groups = null ,
619630 mixed $ payload = null ,
620- array $ options = [] ,
631+ ? array $ options = null ,
621632 ): ChainedValidatorInterface &Validator ;
622633
623634 public function ulid (
@@ -636,6 +647,7 @@ public function unique(
636647 mixed $ payload = null ,
637648 array |string |null $ fields = null ,
638649 ?string $ errorPath = null ,
650+ ?bool $ stopOnFirstError = null ,
639651 ): ChainedValidatorInterface &Validator ;
640652
641653 public function url (
@@ -679,12 +691,13 @@ public function week(
679691 ): ChainedValidatorInterface &Validator ;
680692
681693 public function when (
682- \Symfony \Component \ExpressionLanguage \Expression |array |string $ expression ,
694+ \Symfony \Component \ExpressionLanguage \Expression |Closure | array |string $ expression ,
683695 \Symfony \Component \Validator \Constraint |array |null $ constraints = null ,
684696 ?array $ values = null ,
685697 ?array $ groups = null ,
686698 $ payload = null ,
687- array $ options = [],
699+ ?array $ options = null ,
700+ \Symfony \Component \Validator \Constraint |array $ otherwise = [],
688701 ): ChainedValidatorInterface &Validator ;
689702
690703 public function wordCount (
0 commit comments