mirror of
https://github.com/AnimeThemes/animethemes-server.git
synced 2026-07-11 01:24:46 +02:00
chore: applying framework updates (#498)
This commit is contained in:
@@ -34,7 +34,7 @@ class BalanceMonthToDateField extends FloatField implements CreatableField, Upda
|
||||
{
|
||||
return [
|
||||
'required',
|
||||
'regex:/^\-?\d+(\.\d{1,2})?$/',
|
||||
'decimal:0,2',
|
||||
];
|
||||
}
|
||||
|
||||
@@ -49,7 +49,7 @@ class BalanceMonthToDateField extends FloatField implements CreatableField, Upda
|
||||
return [
|
||||
'sometimes',
|
||||
'required',
|
||||
'regex:/^\-?\d+(\.\d{1,2})?$/',
|
||||
'decimal:0,2',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ class BalanceUsageField extends FloatField implements CreatableField, UpdatableF
|
||||
{
|
||||
return [
|
||||
'required',
|
||||
'regex:/^\-?\d+(\.\d{1,2})?$/',
|
||||
'decimal:0,2',
|
||||
];
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ class BalanceUsageField extends FloatField implements CreatableField, UpdatableF
|
||||
return [
|
||||
'sometimes',
|
||||
'required',
|
||||
'regex:/^\-?\d+(\.\d{1,2})?$/',
|
||||
'decimal:0,2',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -33,7 +33,7 @@ class TransactionAmountField extends FloatField implements CreatableField, Updat
|
||||
{
|
||||
return [
|
||||
'required',
|
||||
'regex:/^\-?\d+(\.\d{1,2})?$/',
|
||||
'decimal:0,2',
|
||||
];
|
||||
}
|
||||
|
||||
@@ -48,7 +48,7 @@ class TransactionAmountField extends FloatField implements CreatableField, Updat
|
||||
return [
|
||||
'sometimes',
|
||||
'required',
|
||||
'regex:/^\-?\d+(\.\d{1,2})?$/',
|
||||
'decimal:0,2',
|
||||
];
|
||||
}
|
||||
}
|
||||
|
||||
@@ -28,6 +28,7 @@ return [
|
||||
'unique' => 'You may not specify duplicates.',
|
||||
],
|
||||
'array' => 'The :attribute must be an array.',
|
||||
'ascii' => 'The :attribute must only contain single-byte alphanumeric characters and symbols.',
|
||||
'before' => 'The :attribute must be a date before :date.',
|
||||
'before_or_equal' => 'The :attribute must be a date before or equal to :date.',
|
||||
'between' => [
|
||||
@@ -42,6 +43,7 @@ return [
|
||||
'date' => 'The :attribute is not a valid date.',
|
||||
'date_equals' => 'The :attribute must be a date equal to :date.',
|
||||
'date_format' => 'The :attribute does not match the format :format.',
|
||||
'decimal' => 'The :attribute must have :decimal decimal places.',
|
||||
'declined' => 'The :attribute must be declined.',
|
||||
'declined_if' => 'The :attribute must be declined when :other is :value.',
|
||||
'different' => 'The :attribute and :other must be different.',
|
||||
@@ -171,6 +173,7 @@ return [
|
||||
'uploaded' => 'The :attribute failed to upload.',
|
||||
'uppercase' => 'The :attribute must be uppercase.',
|
||||
'url' => 'The :attribute must be a valid URL.',
|
||||
'ulid' => 'The :attribute must be a valid ULID.',
|
||||
'uuid' => 'The :attribute must be a valid UUID.',
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user