mirror of
https://github.com/InvoiceShelf/InvoiceShelf.git
synced 2026-04-07 13:41:23 +00:00
Setup pint & run code style fix
This commit is contained in:
@@ -25,7 +25,7 @@ class ExchangeRateProviderRequest extends FormRequest
|
||||
{
|
||||
$rules = [
|
||||
'driver' => [
|
||||
'required'
|
||||
'required',
|
||||
],
|
||||
'key' => [
|
||||
'required',
|
||||
@@ -37,11 +37,11 @@ class ExchangeRateProviderRequest extends FormRequest
|
||||
'nullable',
|
||||
],
|
||||
'driver_config' => [
|
||||
'nullable'
|
||||
'nullable',
|
||||
],
|
||||
'active' => [
|
||||
'nullable',
|
||||
'boolean'
|
||||
'boolean',
|
||||
],
|
||||
];
|
||||
|
||||
@@ -52,7 +52,7 @@ class ExchangeRateProviderRequest extends FormRequest
|
||||
{
|
||||
return collect($this->validated())
|
||||
->merge([
|
||||
'company_id' => $this->header('company')
|
||||
'company_id' => $this->header('company'),
|
||||
])
|
||||
->toArray();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user