Skip to content

Commit 733c4c8

Browse files
authored
docs: Update @param for $match to reflect the correct default value.
1 parent 48ed8fb commit 733c4c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Constraints/Regex.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class Regex extends Constraint
3838
/**
3939
* @param string|array<string,mixed>|null $pattern The regular expression to match
4040
* @param string|null $htmlPattern The pattern to use in the HTML5 pattern attribute
41-
* @param bool|null $match Whether to validate the value matches the configured pattern or not (defaults to false)
41+
* @param bool|null $match Whether to validate the value matches the configured pattern or not (defaults to true)
4242
* @param string[]|null $groups
4343
* @param array<string,mixed> $options
4444
*/

0 commit comments

Comments
 (0)