File tree Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Expand file tree Collapse file tree 2 files changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ Named Lock
232
232
----------
233
233
234
234
If the application needs different kind of Stores alongside each other, Symfony
235
- provides :ref: `named lock <reference-lock-resources-name >`::
235
+ provides :ref: `named lock <reference-lock-resources-name >`:
236
236
237
237
.. configuration-block ::
238
238
Original file line number Diff line number Diff line change @@ -40,13 +40,13 @@ The following constraints ensure that:
40
40
class Order
41
41
{
42
42
/**
43
- * @Assert\ExpressionLanguageSyntax()
43
+ * @Assert\ExpressionLanguageSyntax
44
44
*/
45
45
protected $promotion;
46
46
47
47
/**
48
48
* @Assert\ExpressionLanguageSyntax(
49
- * allowedVariables = [' user', ' shipping_centers']
49
+ * allowedVariables={" user", " shipping_centers"}
50
50
* )
51
51
*/
52
52
protected $shippingOptions;
@@ -77,7 +77,10 @@ The following constraints ensure that:
77
77
</property >
78
78
<property name =" shippingOptions" >
79
79
<constraint name =" ExpressionLanguageSyntax" >
80
- <option name =" allowedVariables" >['user', 'shipping_centers']</option >
80
+ <option name =" allowedVariables" >
81
+ <value >user</value >
82
+ <value >shipping_centers</value >
83
+ </option >
81
84
</constraint >
82
85
</property >
83
86
</class >
You can’t perform that action at this time.
0 commit comments