mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 20:16:22 +00:00
Cast all translations to strings.
This commit is contained in:
@@ -54,7 +54,7 @@ class IsValidAttachmentModel implements Rule
|
||||
*/
|
||||
public function message(): string
|
||||
{
|
||||
return trans('validation.model_id_invalid');
|
||||
return (string)trans('validation.model_id_invalid');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user