We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3bc26d7 commit d85104aCopy full SHA for d85104a
src/TranslationDriver/SymfonyTranslationDriver.php
@@ -21,7 +21,7 @@ class SymfonyTranslationDriver implements TranslationDriverInterface
21
22
public function __construct(?string $cacheDirectory = null)
23
{
24
- $this->translator = new Translator($this->locale, cacheDir: $cacheDirectory);
+ $this->translator = new Translator($this->locale, null, $cacheDirectory);
25
$this->translator->addLoader('mo', new MoFileLoader());
26
}
27
0 commit comments