Skip to content

Commit ac3650f

Browse files
committed
Remove redundant validation rule for float_value in DatabaseFieldConstraints
1 parent 84aa7dd commit ac3650f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Support/DatabaseFieldConstraints.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ final class DatabaseFieldConstraints
8686
'float_value' => [
8787
'max_digits' => 30,
8888
'max_decimals' => 15,
89-
'validator' => ['digits_between:1,30', 'decimal:0,15'],
89+
'validator' => ['decimal:0,15'],
9090
'field_types' => [CustomFieldType::CURRENCY],
9191
],
9292
'json_value' => [
@@ -116,7 +116,7 @@ final class DatabaseFieldConstraints
116116
'float_value' => [
117117
'max_digits' => 30,
118118
'max_decimals' => 15,
119-
'validator' => ['digits_between:1,30', 'decimal:0,15'],
119+
'validator' => ['decimal:0,15'],
120120
'field_types' => [CustomFieldType::CURRENCY],
121121
],
122122
'json_value' => [

0 commit comments

Comments
 (0)