Skip to content

Commit 5288278

Browse files
committed
Merge branch '7.2' into 7.3
* 7.2: docs: Update @param for $match to reflect the correct default value. [Validator] add pl translation for the Twig constraint dump default value for property hooks if present
2 parents 638450b + f7c32e3 commit 5288278

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Constraints/Regex.php

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

Resources/translations/validators.pl.xlf

+1-1
Original file line numberDiff line numberDiff line change
@@ -472,7 +472,7 @@
472472
</trans-unit>
473473
<trans-unit id="121">
474474
<source>This value is not a valid Twig template.</source>
475-
<target state="needs-translation">This value is not a valid Twig template.</target>
475+
<target>Ta wartość nie jest prawidłowym szablonem Twig.</target>
476476
</trans-unit>
477477
</body>
478478
</file>

0 commit comments

Comments
 (0)