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 dddf9b9 commit 65086f6Copy full SHA for 65086f6
src/Support/Trans.php
@@ -39,9 +39,7 @@ protected function appLocale(): string
39
40
protected function getLocale(): string
41
{
42
- $locale = $this->isForce() ? $this->getForceLocale() : $this->appLocale();
43
-
44
- $current = explode(',', $locale);
+ $current = explode(',', $this->isForce() ? $this->getForceLocale() : $this->appLocale());
45
$app = explode(',', $this->appLocale());
46
47
return $this->getCorrectedLocale(
0 commit comments