Minor syntax change.
This commit is contained in:
@@ -127,11 +127,7 @@ class CouponCreationForm extends BaseForm
|
|||||||
array(
|
array(
|
||||||
'constraints' => array(
|
'constraints' => array(
|
||||||
new NotBlank(),
|
new NotBlank(),
|
||||||
new GreaterThanOrEqual(
|
new GreaterThanOrEqual(['value' => -1])
|
||||||
array(
|
|
||||||
'value' => -1
|
|
||||||
)
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user