mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-05-04 13:16:31 +00:00
Autoformat lol
This commit is contained in:
@@ -39,10 +39,7 @@ class UpdateRequest extends FormRequest
|
||||
|
||||
public function getUpdateData(): array
|
||||
{
|
||||
$fields = [
|
||||
'title' => ['title', 'convertString'],
|
||||
'order' => ['order', 'convertInteger'],
|
||||
];
|
||||
$fields = ['title' => ['title', 'convertString'], 'order' => ['order', 'convertInteger']];
|
||||
|
||||
return $this->getAllData($fields);
|
||||
}
|
||||
@@ -55,9 +52,6 @@ class UpdateRequest extends FormRequest
|
||||
/** @var ObjectGroup $objectGroup */
|
||||
$objectGroup = $this->route()->parameter('objectGroup');
|
||||
|
||||
return [
|
||||
'title' => sprintf('max:1024|min:1|uniqueObjectGroup:%d', $objectGroup->id),
|
||||
'order' => 'numeric',
|
||||
];
|
||||
return ['title' => sprintf('max:1024|min:1|uniqueObjectGroup:%d', $objectGroup->id), 'order' => 'numeric'];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user