Code cleanup

This commit is contained in:
James Cole
2018-04-02 15:10:40 +02:00
parent fa7ab45a40
commit a3c34e6b3c
151 changed files with 802 additions and 990 deletions

View File

@@ -43,8 +43,8 @@ class AttachmentFormRequest extends Request
public function getAttachmentData(): array
{
return [
'title' => $this->string('title'),
'notes' => $this->string('notes'),
'title' => $this->string('title'),
'notes' => $this->string('notes'),
];
}
@@ -55,8 +55,8 @@ class AttachmentFormRequest extends Request
{
// fixed
return [
'title' => 'between:1,255|nullable',
'notes' => 'between:1,65536|nullable',
'title' => 'between:1,255|nullable',
'notes' => 'between:1,65536|nullable',
];
}
}