mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Clean up code.
This commit is contained in:
@@ -41,7 +41,7 @@ class RuleFormRequest extends LoggedInRequest
|
||||
*/
|
||||
public function getRuleData(): array
|
||||
{
|
||||
$data = [
|
||||
return [
|
||||
'title' => $this->string('title'),
|
||||
'rule_group_id' => $this->integer('rule_group_id'),
|
||||
'active' => $this->boolean('active'),
|
||||
@@ -52,8 +52,6 @@ class RuleFormRequest extends LoggedInRequest
|
||||
'triggers' => $this->getRuleTriggerData(),
|
||||
'actions' => $this->getRuleActionData(),
|
||||
];
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user