Fixed some deprecations.

This commit is contained in:
Jan Böhmer 2021-10-02 20:41:14 +02:00
parent 2a332b28a7
commit 193ecd252b
12 changed files with 66 additions and 24 deletions

View file

@ -31,7 +31,7 @@ use Symfony\Component\Validator\Constraints\NumberConstraintTrait;
*/
class BigDecimalPositive extends GreaterThan
{
use NumberConstraintTrait;
use BigNumberConstraintTrait;
public $message = 'This value should be positive.';
@ -44,4 +44,5 @@ class BigDecimalPositive extends GreaterThan
{
return BigDecimalGreaterThanValidator::class;
}
}