From 7781fe5f59e3605475a8e50bba86d576ac412295 Mon Sep 17 00:00:00 2001 From: Franck Allimant Date: Fri, 2 May 2014 20:00:19 +0200 Subject: [PATCH] Minor syntax change. --- core/lib/Thelia/Form/CouponCreationForm.php | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/core/lib/Thelia/Form/CouponCreationForm.php b/core/lib/Thelia/Form/CouponCreationForm.php index 0d5bf8835..a42ad85da 100644 --- a/core/lib/Thelia/Form/CouponCreationForm.php +++ b/core/lib/Thelia/Form/CouponCreationForm.php @@ -127,11 +127,7 @@ class CouponCreationForm extends BaseForm array( 'constraints' => array( new NotBlank(), - new GreaterThanOrEqual( - array( - 'value' => -1 - ) - ) + new GreaterThanOrEqual(['value' => -1]) ) ) )