Skip to content

Commit 1761511

Browse files
updated the type for big int validator
1 parent d3282bc commit 1761511

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/Database/Validator/BigInt.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
namespace Utopia\Database\Validator;
44

5+
use Utopia\Database\Database;
56
use Utopia\Database\Helpers\BigInt as BigIntHelper;
67
use Utopia\Validator;
78

@@ -33,7 +34,7 @@ public function isArray(): bool
3334

3435
public function getType(): string
3536
{
36-
return self::TYPE_MIXED;
37+
return Database::VAR_BIGINT;
3738
}
3839

3940
public function isValid(mixed $value): bool

0 commit comments

Comments
 (0)