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

@@ -38,10 +38,7 @@ class PreferenceStoreRequest extends FormRequest
public function getAll(): array
{
$array = [
'name' => $this->convertString('name'),
'data' => $this->get('data'),
];
$array = ['name' => $this->convertString('name'), 'data' => $this->get('data')];
if ('true' === $array['data']) {
$array['data'] = true;
}
@@ -60,9 +57,6 @@ class PreferenceStoreRequest extends FormRequest
*/
public function rules(): array
{
return [
'name' => 'required',
'data' => 'required',
];
return ['name' => 'required', 'data' => 'required'];
}
}