mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-23 14:26:58 +00:00
Rename method
This commit is contained in:
@@ -43,8 +43,8 @@ class MoveTransactionsRequest extends FormRequest
|
|||||||
public function getAll(): array
|
public function getAll(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'original_account' => $this->integer('original_account'),
|
'original_account' => $this->convertInteger('original_account'),
|
||||||
'destination_account' => $this->integer('destination_account'),
|
'destination_account' => $this->convertInteger('destination_account'),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -61,8 +61,8 @@ class StoreRequest extends FormRequest
|
|||||||
'include_net_worth' => $includeNetWorth,
|
'include_net_worth' => $includeNetWorth,
|
||||||
'account_type_name' => $this->convertString('type'),
|
'account_type_name' => $this->convertString('type'),
|
||||||
'account_type_id' => null,
|
'account_type_id' => null,
|
||||||
'currency_id' => $this->integer('currency_id'),
|
'currency_id' => $this->convertInteger('currency_id'),
|
||||||
'order' => $this->integer('order'),
|
'order' => $this->convertInteger('order'),
|
||||||
'currency_code' => $this->convertString('currency_code'),
|
'currency_code' => $this->convertString('currency_code'),
|
||||||
'virtual_balance' => $this->convertString('virtual_balance'),
|
'virtual_balance' => $this->convertString('virtual_balance'),
|
||||||
'iban' => $this->convertString('iban'),
|
'iban' => $this->convertString('iban'),
|
||||||
|
@@ -67,8 +67,8 @@ class UpdateRequest extends FormRequest
|
|||||||
'notes' => ['notes', 'stringWithNewlines'],
|
'notes' => ['notes', 'stringWithNewlines'],
|
||||||
'interest' => ['interest', 'convertString'],
|
'interest' => ['interest', 'convertString'],
|
||||||
'interest_period' => ['interest_period', 'convertString'],
|
'interest_period' => ['interest_period', 'convertString'],
|
||||||
'order' => ['order', 'integer'],
|
'order' => ['order', 'convertInteger'],
|
||||||
'currency_id' => ['currency_id', 'integer'],
|
'currency_id' => ['currency_id', 'convertInteger'],
|
||||||
'currency_code' => ['currency_code', 'convertString'],
|
'currency_code' => ['currency_code', 'convertString'],
|
||||||
'liability_direction' => ['liability_direction', 'convertString'],
|
'liability_direction' => ['liability_direction', 'convertString'],
|
||||||
'liability_amount' => ['liability_amount', 'convertString'],
|
'liability_amount' => ['liability_amount', 'convertString'],
|
||||||
|
@@ -49,7 +49,7 @@ class StoreRequest extends FormRequest
|
|||||||
'title' => $this->convertString('title'),
|
'title' => $this->convertString('title'),
|
||||||
'notes' => $this->stringWithNewlines('notes'),
|
'notes' => $this->stringWithNewlines('notes'),
|
||||||
'attachable_type' => $this->convertString('attachable_type'),
|
'attachable_type' => $this->convertString('attachable_type'),
|
||||||
'attachable_id' => $this->integer('attachable_id'),
|
'attachable_id' => $this->convertInteger('attachable_id'),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -49,7 +49,7 @@ class UpdateRequest extends FormRequest
|
|||||||
'title' => ['title', 'convertString'],
|
'title' => ['title', 'convertString'],
|
||||||
'notes' => ['notes', 'stringWithNewlines'],
|
'notes' => ['notes', 'stringWithNewlines'],
|
||||||
'attachable_type' => ['attachable_type', 'convertString'],
|
'attachable_type' => ['attachable_type', 'convertString'],
|
||||||
'attachable_id' => ['attachable_id', 'integer'],
|
'attachable_id' => ['attachable_id', 'convertInteger'],
|
||||||
];
|
];
|
||||||
|
|
||||||
return $this->getAllData($fields);
|
return $this->getAllData($fields);
|
||||||
|
@@ -47,7 +47,7 @@ class Request extends FormRequest
|
|||||||
{
|
{
|
||||||
// this is the way:
|
// this is the way:
|
||||||
$fields = [
|
$fields = [
|
||||||
'currency_id' => ['currency_id', 'integer'],
|
'currency_id' => ['currency_id', 'convertInteger'],
|
||||||
'currency_code' => ['currency_code', 'convertString'],
|
'currency_code' => ['currency_code', 'convertString'],
|
||||||
'amount' => ['amount', 'convertString'],
|
'amount' => ['amount', 'convertString'],
|
||||||
'start' => ['start', 'date'],
|
'start' => ['start', 'date'],
|
||||||
|
@@ -52,17 +52,17 @@ class StoreRequest extends FormRequest
|
|||||||
'name' => ['name', 'convertString'],
|
'name' => ['name', 'convertString'],
|
||||||
'amount_min' => ['amount_min', 'convertString'],
|
'amount_min' => ['amount_min', 'convertString'],
|
||||||
'amount_max' => ['amount_max', 'convertString'],
|
'amount_max' => ['amount_max', 'convertString'],
|
||||||
'currency_id' => ['currency_id', 'integer'],
|
'currency_id' => ['currency_id', 'convertInteger'],
|
||||||
'currency_code' => ['currency_code', 'convertString'],
|
'currency_code' => ['currency_code', 'convertString'],
|
||||||
'date' => ['date', 'date'],
|
'date' => ['date', 'date'],
|
||||||
'end_date' => ['end_date', 'date'],
|
'end_date' => ['end_date', 'date'],
|
||||||
'extension_date' => ['extension_date', 'date'],
|
'extension_date' => ['extension_date', 'date'],
|
||||||
'repeat_freq' => ['repeat_freq', 'convertString'],
|
'repeat_freq' => ['repeat_freq', 'convertString'],
|
||||||
'skip' => ['skip', 'integer'],
|
'skip' => ['skip', 'convertInteger'],
|
||||||
'active' => ['active', 'boolean'],
|
'active' => ['active', 'boolean'],
|
||||||
'order' => ['order', 'integer'],
|
'order' => ['order', 'convertInteger'],
|
||||||
'notes' => ['notes', 'stringWithNewlines'],
|
'notes' => ['notes', 'stringWithNewlines'],
|
||||||
'object_group_id' => ['object_group_id', 'integer'],
|
'object_group_id' => ['object_group_id', 'convertInteger'],
|
||||||
'object_group_title' => ['object_group_title', 'convertString'],
|
'object_group_title' => ['object_group_title', 'convertString'],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@@ -50,17 +50,17 @@ class UpdateRequest extends FormRequest
|
|||||||
'name' => ['name', 'convertString'],
|
'name' => ['name', 'convertString'],
|
||||||
'amount_min' => ['amount_min', 'convertString'],
|
'amount_min' => ['amount_min', 'convertString'],
|
||||||
'amount_max' => ['amount_max', 'convertString'],
|
'amount_max' => ['amount_max', 'convertString'],
|
||||||
'currency_id' => ['currency_id', 'integer'],
|
'currency_id' => ['currency_id', 'convertInteger'],
|
||||||
'currency_code' => ['currency_code', 'convertString'],
|
'currency_code' => ['currency_code', 'convertString'],
|
||||||
'date' => ['date', 'date'],
|
'date' => ['date', 'date'],
|
||||||
'end_date' => ['end_date', 'date'],
|
'end_date' => ['end_date', 'date'],
|
||||||
'extension_date' => ['extension_date', 'date'],
|
'extension_date' => ['extension_date', 'date'],
|
||||||
'repeat_freq' => ['repeat_freq', 'convertString'],
|
'repeat_freq' => ['repeat_freq', 'convertString'],
|
||||||
'skip' => ['skip', 'integer'],
|
'skip' => ['skip', 'convertInteger'],
|
||||||
'active' => ['active', 'boolean'],
|
'active' => ['active', 'boolean'],
|
||||||
'order' => ['order', 'integer'],
|
'order' => ['order', 'convertInteger'],
|
||||||
'notes' => ['notes', 'stringWithNewlines'],
|
'notes' => ['notes', 'stringWithNewlines'],
|
||||||
'object_group_id' => ['object_group_id', 'integer'],
|
'object_group_id' => ['object_group_id', 'convertInteger'],
|
||||||
'object_group_title' => ['object_group_title', 'convertString'],
|
'object_group_title' => ['object_group_title', 'convertString'],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@@ -49,11 +49,11 @@ class StoreRequest extends FormRequest
|
|||||||
$fields = [
|
$fields = [
|
||||||
'name' => ['name', 'convertString'],
|
'name' => ['name', 'convertString'],
|
||||||
'active' => ['active', 'boolean'],
|
'active' => ['active', 'boolean'],
|
||||||
'order' => ['active', 'integer'],
|
'order' => ['active', 'convertInteger'],
|
||||||
'notes' => ['notes', 'convertString'],
|
'notes' => ['notes', 'convertString'],
|
||||||
|
|
||||||
// auto budget currency:
|
// auto budget currency:
|
||||||
'currency_id' => ['auto_budget_currency_id', 'integer'],
|
'currency_id' => ['auto_budget_currency_id', 'convertInteger'],
|
||||||
'currency_code' => ['auto_budget_currency_code', 'convertString'],
|
'currency_code' => ['auto_budget_currency_code', 'convertString'],
|
||||||
'auto_budget_type' => ['auto_budget_type', 'convertString'],
|
'auto_budget_type' => ['auto_budget_type', 'convertString'],
|
||||||
'auto_budget_amount' => ['auto_budget_amount', 'convertString'],
|
'auto_budget_amount' => ['auto_budget_amount', 'convertString'],
|
||||||
|
@@ -50,9 +50,9 @@ class UpdateRequest extends FormRequest
|
|||||||
$fields = [
|
$fields = [
|
||||||
'name' => ['name', 'convertString'],
|
'name' => ['name', 'convertString'],
|
||||||
'active' => ['active', 'boolean'],
|
'active' => ['active', 'boolean'],
|
||||||
'order' => ['order', 'integer'],
|
'order' => ['order', 'convertInteger'],
|
||||||
'notes' => ['notes', 'convertString'],
|
'notes' => ['notes', 'convertString'],
|
||||||
'currency_id' => ['auto_budget_currency_id', 'integer'],
|
'currency_id' => ['auto_budget_currency_id', 'convertInteger'],
|
||||||
'currency_code' => ['auto_budget_currency_code', 'convertString'],
|
'currency_code' => ['auto_budget_currency_code', 'convertString'],
|
||||||
'auto_budget_type' => ['auto_budget_type', 'convertString'],
|
'auto_budget_type' => ['auto_budget_type', 'convertString'],
|
||||||
'auto_budget_amount' => ['auto_budget_amount', 'convertString'],
|
'auto_budget_amount' => ['auto_budget_amount', 'convertString'],
|
||||||
|
@@ -47,7 +47,7 @@ class StoreRequest extends FormRequest
|
|||||||
'start' => $this->getCarbonDate('start'),
|
'start' => $this->getCarbonDate('start'),
|
||||||
'end' => $this->getCarbonDate('end'),
|
'end' => $this->getCarbonDate('end'),
|
||||||
'amount' => $this->convertString('amount'),
|
'amount' => $this->convertString('amount'),
|
||||||
'currency_id' => $this->integer('currency_id'),
|
'currency_id' => $this->convertInteger('currency_id'),
|
||||||
'currency_code' => $this->convertString('currency_code'),
|
'currency_code' => $this->convertString('currency_code'),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@@ -49,7 +49,7 @@ class UpdateRequest extends FormRequest
|
|||||||
'start' => ['start', 'date'],
|
'start' => ['start', 'date'],
|
||||||
'end' => ['end', 'date'],
|
'end' => ['end', 'date'],
|
||||||
'amount' => ['amount', 'convertString'],
|
'amount' => ['amount', 'convertString'],
|
||||||
'currency_id' => ['currency_id', 'integer'],
|
'currency_id' => ['currency_id', 'convertInteger'],
|
||||||
'currency_code' => ['currency_code', 'convertString'],
|
'currency_code' => ['currency_code', 'convertString'],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@@ -44,7 +44,7 @@ class UpdateRequest extends FormRequest
|
|||||||
{
|
{
|
||||||
$fields = [
|
$fields = [
|
||||||
'title' => ['title', 'convertString'],
|
'title' => ['title', 'convertString'],
|
||||||
'order' => ['order', 'integer'],
|
'order' => ['order', 'convertInteger'],
|
||||||
];
|
];
|
||||||
|
|
||||||
return $this->getAllData($fields);
|
return $this->getAllData($fields);
|
||||||
|
@@ -44,17 +44,17 @@ class StoreRequest extends FormRequest
|
|||||||
public function getAll(): array
|
public function getAll(): array
|
||||||
{
|
{
|
||||||
$fields = [
|
$fields = [
|
||||||
'order' => ['order', 'integer'],
|
'order' => ['order', 'convertInteger'],
|
||||||
];
|
];
|
||||||
$data = $this->getAllData($fields);
|
$data = $this->getAllData($fields);
|
||||||
$data['name'] = $this->convertString('name');
|
$data['name'] = $this->convertString('name');
|
||||||
$data['account_id'] = $this->integer('account_id');
|
$data['account_id'] = $this->convertInteger('account_id');
|
||||||
$data['targetamount'] = $this->convertString('target_amount');
|
$data['targetamount'] = $this->convertString('target_amount');
|
||||||
$data['current_amount'] = $this->convertString('current_amount');
|
$data['current_amount'] = $this->convertString('current_amount');
|
||||||
$data['startdate'] = $this->getCarbonDate('start_date');
|
$data['startdate'] = $this->getCarbonDate('start_date');
|
||||||
$data['targetdate'] = $this->getCarbonDate('target_date');
|
$data['targetdate'] = $this->getCarbonDate('target_date');
|
||||||
$data['notes'] = $this->stringWithNewlines('notes');
|
$data['notes'] = $this->stringWithNewlines('notes');
|
||||||
$data['object_group_id'] = $this->integer('object_group_id');
|
$data['object_group_id'] = $this->convertInteger('object_group_id');
|
||||||
$data['object_group_title'] = $this->convertString('object_group_title');
|
$data['object_group_title'] = $this->convertString('object_group_title');
|
||||||
|
|
||||||
return $data;
|
return $data;
|
||||||
|
@@ -47,15 +47,15 @@ class UpdateRequest extends FormRequest
|
|||||||
{
|
{
|
||||||
$fields = [
|
$fields = [
|
||||||
'name' => ['name', 'convertString'],
|
'name' => ['name', 'convertString'],
|
||||||
'account_id' => ['account_id', 'integer'],
|
'account_id' => ['account_id', 'convertInteger'],
|
||||||
'targetamount' => ['target_amount', 'convertString'],
|
'targetamount' => ['target_amount', 'convertString'],
|
||||||
'current_amount' => ['current_amount', 'convertString'],
|
'current_amount' => ['current_amount', 'convertString'],
|
||||||
'startdate' => ['start_date', 'date'],
|
'startdate' => ['start_date', 'date'],
|
||||||
'targetdate' => ['target_date', 'convertString'],
|
'targetdate' => ['target_date', 'convertString'],
|
||||||
'notes' => ['notes', 'stringWithNewlines'],
|
'notes' => ['notes', 'stringWithNewlines'],
|
||||||
'order' => ['order', 'integer'],
|
'order' => ['order', 'convertInteger'],
|
||||||
'object_group_title' => ['object_group_title', 'convertString'],
|
'object_group_title' => ['object_group_title', 'convertString'],
|
||||||
'object_group_id' => ['object_group_id', 'integer'],
|
'object_group_id' => ['object_group_id', 'convertInteger'],
|
||||||
];
|
];
|
||||||
|
|
||||||
return $this->getAllData($fields);
|
return $this->getAllData($fields);
|
||||||
|
@@ -54,7 +54,7 @@ class StoreRequest extends FormRequest
|
|||||||
'description' => ['description', 'convertString'],
|
'description' => ['description', 'convertString'],
|
||||||
'first_date' => ['first_date', 'date'],
|
'first_date' => ['first_date', 'date'],
|
||||||
'repeat_until' => ['repeat_until', 'date'],
|
'repeat_until' => ['repeat_until', 'date'],
|
||||||
'nr_of_repetitions' => ['nr_of_repetitions', 'integer'],
|
'nr_of_repetitions' => ['nr_of_repetitions', 'convertInteger'],
|
||||||
'apply_rules' => ['apply_rules', 'boolean'],
|
'apply_rules' => ['apply_rules', 'boolean'],
|
||||||
'active' => ['active', 'boolean'],
|
'active' => ['active', 'boolean'],
|
||||||
'notes' => ['notes', 'stringWithNewlines'],
|
'notes' => ['notes', 'stringWithNewlines'],
|
||||||
|
@@ -55,7 +55,7 @@ class UpdateRequest extends FormRequest
|
|||||||
'description' => ['description', 'convertString'],
|
'description' => ['description', 'convertString'],
|
||||||
'first_date' => ['first_date', 'date'],
|
'first_date' => ['first_date', 'date'],
|
||||||
'repeat_until' => ['repeat_until', 'date'],
|
'repeat_until' => ['repeat_until', 'date'],
|
||||||
'nr_of_repetitions' => ['nr_of_repetitions', 'integer'],
|
'nr_of_repetitions' => ['nr_of_repetitions', 'convertInteger'],
|
||||||
'apply_rules' => ['apply_rules', 'boolean'],
|
'apply_rules' => ['apply_rules', 'boolean'],
|
||||||
'active' => ['active', 'boolean'],
|
'active' => ['active', 'boolean'],
|
||||||
'notes' => ['notes', 'convertString'],
|
'notes' => ['notes', 'convertString'],
|
||||||
|
@@ -48,8 +48,8 @@ class StoreRequest extends FormRequest
|
|||||||
$fields = [
|
$fields = [
|
||||||
'title' => ['title', 'convertString'],
|
'title' => ['title', 'convertString'],
|
||||||
'description' => ['description', 'convertString'],
|
'description' => ['description', 'convertString'],
|
||||||
'rule_group_id' => ['rule_group_id', 'integer'],
|
'rule_group_id' => ['rule_group_id', 'convertInteger'],
|
||||||
'order' => ['order', 'integer'],
|
'order' => ['order', 'convertInteger'],
|
||||||
'rule_group_title' => ['rule_group_title', 'convertString'],
|
'rule_group_title' => ['rule_group_title', 'convertString'],
|
||||||
'trigger' => ['trigger', 'convertString'],
|
'trigger' => ['trigger', 'convertString'],
|
||||||
'strict' => ['strict', 'boolean'],
|
'strict' => ['strict', 'boolean'],
|
||||||
|
@@ -48,12 +48,12 @@ class UpdateRequest extends FormRequest
|
|||||||
$fields = [
|
$fields = [
|
||||||
'title' => ['title', 'convertString'],
|
'title' => ['title', 'convertString'],
|
||||||
'description' => ['description', 'stringWithNewlines'],
|
'description' => ['description', 'stringWithNewlines'],
|
||||||
'rule_group_id' => ['rule_group_id', 'integer'],
|
'rule_group_id' => ['rule_group_id', 'convertInteger'],
|
||||||
'trigger' => ['trigger', 'convertString'],
|
'trigger' => ['trigger', 'convertString'],
|
||||||
'strict' => ['strict', 'boolean'],
|
'strict' => ['strict', 'boolean'],
|
||||||
'stop_processing' => ['stop_processing', 'boolean'],
|
'stop_processing' => ['stop_processing', 'boolean'],
|
||||||
'active' => ['active', 'boolean'],
|
'active' => ['active', 'boolean'],
|
||||||
'order' => ['order', 'integer'],
|
'order' => ['order', 'convertInteger'],
|
||||||
];
|
];
|
||||||
|
|
||||||
$return = $this->getAllData($fields);
|
$return = $this->getAllData($fields);
|
||||||
|
@@ -49,7 +49,7 @@ class StoreRequest extends FormRequest
|
|||||||
$active = $this->boolean('active');
|
$active = $this->boolean('active');
|
||||||
}
|
}
|
||||||
if (null !== $this->get('order')) {
|
if (null !== $this->get('order')) {
|
||||||
$order = $this->integer('order');
|
$order = $this->convertInteger('order');
|
||||||
}
|
}
|
||||||
|
|
||||||
return [
|
return [
|
||||||
|
@@ -48,7 +48,7 @@ class UpdateRequest extends FormRequest
|
|||||||
'title' => ['title', 'convertString'],
|
'title' => ['title', 'convertString'],
|
||||||
'description' => ['description', 'stringWithNewlines'],
|
'description' => ['description', 'stringWithNewlines'],
|
||||||
'active' => ['active', 'boolean'],
|
'active' => ['active', 'boolean'],
|
||||||
'order' => ['order', 'integer'],
|
'order' => ['order', 'convertInteger'],
|
||||||
];
|
];
|
||||||
|
|
||||||
return $this->getAllData($fields);
|
return $this->getAllData($fields);
|
||||||
|
@@ -57,7 +57,7 @@ class StoreRequest extends FormRequest
|
|||||||
'name' => $this->convertString('name'),
|
'name' => $this->convertString('name'),
|
||||||
'code' => $this->convertString('code'),
|
'code' => $this->convertString('code'),
|
||||||
'symbol' => $this->convertString('symbol'),
|
'symbol' => $this->convertString('symbol'),
|
||||||
'decimal_places' => $this->integer('decimal_places'),
|
'decimal_places' => $this->convertInteger('decimal_places'),
|
||||||
'default' => $default,
|
'default' => $default,
|
||||||
'enabled' => $enabled,
|
'enabled' => $enabled,
|
||||||
];
|
];
|
||||||
|
@@ -49,7 +49,7 @@ class UpdateRequest extends FormRequest
|
|||||||
'name' => ['name', 'convertString'],
|
'name' => ['name', 'convertString'],
|
||||||
'code' => ['code', 'convertString'],
|
'code' => ['code', 'convertString'],
|
||||||
'symbol' => ['symbol', 'convertString'],
|
'symbol' => ['symbol', 'convertString'],
|
||||||
'decimal_places' => ['decimal_places', 'integer'],
|
'decimal_places' => ['decimal_places', 'convertInteger'],
|
||||||
'default' => ['default', 'boolean'],
|
'default' => ['default', 'boolean'],
|
||||||
'enabled' => ['enabled', 'boolean'],
|
'enabled' => ['enabled', 'boolean'],
|
||||||
];
|
];
|
||||||
|
@@ -46,10 +46,10 @@ class StoreRequest extends FormRequest
|
|||||||
public function getAll(): array
|
public function getAll(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'link_type_id' => $this->integer('link_type_id'),
|
'link_type_id' => $this->convertInteger('link_type_id'),
|
||||||
'link_type_name' => $this->convertString('link_type_name'),
|
'link_type_name' => $this->convertString('link_type_name'),
|
||||||
'inward_id' => $this->integer('inward_id'),
|
'inward_id' => $this->convertInteger('inward_id'),
|
||||||
'outward_id' => $this->integer('outward_id'),
|
'outward_id' => $this->convertInteger('outward_id'),
|
||||||
'notes' => $this->stringWithNewlines('notes'),
|
'notes' => $this->stringWithNewlines('notes'),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@@ -46,10 +46,10 @@ class UpdateRequest extends FormRequest
|
|||||||
public function getAll(): array
|
public function getAll(): array
|
||||||
{
|
{
|
||||||
return [
|
return [
|
||||||
'link_type_id' => $this->integer('link_type_id'),
|
'link_type_id' => $this->convertInteger('link_type_id'),
|
||||||
'link_type_name' => $this->convertString('link_type_name'),
|
'link_type_name' => $this->convertString('link_type_name'),
|
||||||
'inward_id' => $this->integer('inward_id'),
|
'inward_id' => $this->convertInteger('inward_id'),
|
||||||
'outward_id' => $this->integer('outward_id'),
|
'outward_id' => $this->convertInteger('outward_id'),
|
||||||
'notes' => $this->stringWithNewlines('notes'),
|
'notes' => $this->stringWithNewlines('notes'),
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@@ -54,7 +54,7 @@ class UpdateRequest extends FormRequest
|
|||||||
return ['value' => $this->boolean('value')];
|
return ['value' => $this->boolean('value')];
|
||||||
case 'configuration.permission_update_check':
|
case 'configuration.permission_update_check':
|
||||||
case 'configuration.last_update_check':
|
case 'configuration.last_update_check':
|
||||||
return ['value' => $this->integer('value')];
|
return ['value' => $this->convertInteger('value')];
|
||||||
}
|
}
|
||||||
|
|
||||||
return ['value' => $this->convertString('value')];
|
return ['value' => $this->convertString('value')];
|
||||||
|
Reference in New Issue
Block a user