🤖 Auto commit for release 'develop' on 2026-01-23

This commit is contained in:
JC5
2026-01-23 15:14:29 +01:00
parent 8f15a32bd6
commit eeeba86d38
888 changed files with 10732 additions and 10387 deletions

View File

@@ -42,7 +42,7 @@ class TriggerRequest extends FormRequest
return ['start' => $this->getDate('start'), 'end' => $this->getDate('end'), 'accounts' => $this->getAccounts()];
}
private function getDate(string $field): null|Carbon
private function getDate(string $field): ?Carbon
{
$value = $this->query($field);
if (is_array($value)) {
@@ -64,7 +64,7 @@ class TriggerRequest extends FormRequest
'start' => 'date|after:1970-01-02|before:2038-01-17',
'end' => 'date|after_or_equal:start|after:1970-01-02|before:2038-01-17',
'accounts' => '',
'accounts.*' => 'exists:accounts,id|belongsToUser:accounts'
'accounts.*' => 'exists:accounts,id|belongsToUser:accounts',
];
}
}