Autoformat lol

This commit is contained in:
James Cole
2026-01-23 15:09:50 +01:00
parent ae1347c550
commit 8f15a32bd6
1071 changed files with 21111 additions and 21687 deletions

View File

@@ -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'];
}
}