mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-14 08:11:20 +00:00
Specify return types.
This commit is contained in:
@@ -133,7 +133,7 @@ class Request extends FormRequest
|
||||
*
|
||||
* @return Carbon|null
|
||||
*/
|
||||
protected function date(string $field)
|
||||
protected function date(string $field): ?Carbon
|
||||
{
|
||||
return $this->get($field) ? new Carbon($this->get($field)) : null;
|
||||
}
|
||||
|
Reference in New Issue
Block a user