Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Minor tweak
  • Loading branch information
javiereguiluz committed Mar 18, 2018
commit 0aa0ce304554642fe93f11f048cfbb5d8938c065
2 changes: 1 addition & 1 deletion reference/constraints/Expression.rst
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ type (numeric, boolean, strings, null, etc.)
/**
* @Assert\Expression(
* "value + error_margin < threshold",
* values = { "error_margin": 0.25, threshold: 1.5 }
* values = { "error_margin": 0.25, "threshold": 1.5 }
* )
*/
private $metric;
Expand Down