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

Appearance settings

Commit c83c72c

Browse filesBrowse files
committed
bug #7130 [Validator] Fixed incorrect xml constraint example (acrobat)
This PR was merged into the 2.7 branch. Discussion ---------- [Validator] Fixed incorrect xml constraint example I'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 parents 2573102 + 786555d commit c83c72c
Copy full SHA for c83c72c

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎reference/constraints/Type.rst

Copy file name to clipboardExpand all lines: reference/constraints/Type.rst
+1-1Lines 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
<class name="AppBundle\Entity\Author">
7373
<property name="firstName">
7474
<constraint name="Type">
75-
<type>string</type>
75+
<option name="type">string</option>
7676
</constraint>
7777
</property>
7878
<property name="age">

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.