Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc83c72c

Browse files
committed
bugsymfony#7130 [Validator] Fixed incorrect xml constraint example (acrobat)
This PR was merged into the 2.7 branch.Discussion----------[Validator] Fixed incorrect xml constraint exampleI've fixed an incorrect xml example for the type constraint. See image for validation error in phpstorm![example_bug](https://cloud.githubusercontent.com/assets/1374857/20151627/1b845fc0-a6bb-11e6-94d6-589cf117b8d1.png)Commits-------786555d Fixed incorrect xml constraint example
2 parents2573102 +786555d commitc83c72c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎reference/constraints/Type.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ This will check if ``firstName`` is of type ``string`` and that ``age`` is an
7272
<classname="AppBundle\Entity\Author">
7373
<propertyname="firstName">
7474
<constraintname="Type">
75-
<type>string</type>
75+
<optionname="type">string</option>
7676
</constraint>
7777
</property>
7878
<propertyname="age">

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp