Reformat various code.

This commit is contained in:
James Cole
2022-03-29 14:59:58 +02:00
parent 29bed2547c
commit d1a09ff33b
115 changed files with 2700 additions and 2699 deletions

View File

@@ -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;
}