Skip to content

Commit

Permalink
Do not merge default fallbacks (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
lulco committed Nov 8, 2022
1 parent 4adbab1 commit 7376f7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/DI/TranslationExtension.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public function getConfigSchema(): Schema
'whitelist' => Expect::anyOf(Expect::arrayOf('string'), NULL),
'default' => Expect::string('en'),
'logging' => Expect::anyOf(Expect::string(), Expect::bool()),
'fallback' => Expect::arrayOf('string')->default(['en_US']),
'fallback' => Expect::arrayOf('string')->default(['en_US'])->mergeDefaults(false),
'dirs' => Expect::arrayOf('string')->default(['%appDir%/lang', '%appDir%/locale']),
'cache' => Expect::string(PhpFileStorage::class),
'debugger' => Expect::bool(FALSE),
Expand Down

0 comments on commit 7376f7e

Please sign in to comment.