mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-08-01 00:35:15 +02:00
Fixed some deprecations.
This commit is contained in:
parent
2a332b28a7
commit
193ecd252b
12 changed files with 66 additions and 24 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue