mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-23 04:18:50 +00:00
Cast all translations to strings.
This commit is contained in:
@@ -100,7 +100,7 @@ class ChooseAccountsHandler implements SpectreJobConfigurationInterface
|
||||
$config['apply-rules'] = $applyRules;
|
||||
$this->repository->setConfiguration($this->importJob, $config);
|
||||
if ($final === [0 => 0] || \count($final) === 0) {
|
||||
$messages->add('count', trans('import.spectre_no_mapping'));
|
||||
$messages->add('count', (string)trans('import.spectre_no_mapping'));
|
||||
}
|
||||
|
||||
return $messages;
|
||||
|
Reference in New Issue
Block a user