mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Reformat various code.
This commit is contained in:
@@ -44,7 +44,7 @@ class IsDateOrTime implements Rule
|
||||
*/
|
||||
public function message()
|
||||
{
|
||||
return (string)trans('validation.date_or_time');
|
||||
return (string) trans('validation.date_or_time');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -57,7 +57,7 @@ class IsDateOrTime implements Rule
|
||||
*/
|
||||
public function passes($attribute, $value): bool
|
||||
{
|
||||
$value = (string)$value;
|
||||
$value = (string) $value;
|
||||
if ('' === $value) {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user