mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-29 18:20:01 +00:00
Code cleanup and realign.
This commit is contained in:
@@ -61,9 +61,10 @@ class Request extends FormRequest
|
||||
public function float(string $field): ?float
|
||||
{
|
||||
$res = $this->get($field);
|
||||
if(null === $res) {
|
||||
if (null === $res) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (float)$res;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user