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 1deabde

Browse filesBrowse files
author
Christian Flothmann
committed
[Reference] fix namespace in Expression constraint
1 parent 850b93b commit 1deabde
Copy full SHA for 1deabde

File tree

Expand file treeCollapse file tree

1 file changed

+2
-3
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-3
lines changed

‎reference/constraints/Expression.rst

Copy file name to clipboardExpand all lines: reference/constraints/Expression.rst
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ One way to accomplish this is with the Expression constraint:
7373
.. code-block:: php-annotations
7474
7575
// src/Acme/DemoBundle/Model/BlogPost.php
76-
namespace Acme\DemoBundle\Model\BlogPost;
76+
namespace Acme\DemoBundle\Model;
7777
7878
use Symfony\Component\Validator\Constraints as Assert;
7979
@@ -102,11 +102,10 @@ One way to accomplish this is with the Expression constraint:
102102
</constraint>
103103
</class>
104104
105-
106105
.. code-block:: php
107106
108107
// src/Acme/DemoBundle/Model/BlogPost.php
109-
namespace Acme\DemoBundle\Model\BlogPost;
108+
namespace Acme\DemoBundle\Model;
110109
111110
use Symfony\Component\Validator\Mapping\ClassMetadata;
112111
use Symfony\Component\Validator\Constraints as Assert;

0 commit comments

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