Skip to content

Commit

Permalink
give defaults when config not available
Browse files Browse the repository at this point in the history
  • Loading branch information
bambamboole committed Aug 23, 2024
1 parent 044937e commit 285c581
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/LaravelTranslationDumperServiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@ public function register(): void
static fn (Translator $translator, $app) => new DumpingTranslator(
$translator,
$app->make(TranslationDumperInterface::class),
$app->make(Repository::class)->get('translation.dump_prefix'),
$app->make(Repository::class)->get('translation.ignore_keys'),
$app->make(Repository::class)->get('translation.dump_non_dotted_keys'),
$app->make(Repository::class)->get('translation.dump_prefix', 'x-'),
$app->make(Repository::class)->get('translation.ignore_keys', []),
$app->make(Repository::class)->get('translation.dump_non_dotted_keys', false),
),
);
}
Expand Down

0 comments on commit 285c581

Please sign in to comment.