mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-18 18:40:12 +00:00
Rearrange code [skip ci]
This commit is contained in:
@@ -161,6 +161,7 @@ class JournalFormRequest extends Request
|
||||
private function getFieldOrEmptyString(string $field): string
|
||||
{
|
||||
$string = $this->get($field) ?? '';
|
||||
|
||||
return trim($string);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user