Skip to content

Commit 65086f6

Browse files
author
Andrey Helldar
committed
Removed variable
1 parent dddf9b9 commit 65086f6

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Support/Trans.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,7 @@ protected function appLocale(): string
3939

4040
protected function getLocale(): string
4141
{
42-
$locale = $this->isForce() ? $this->getForceLocale() : $this->appLocale();
43-
44-
$current = explode(',', $locale);
42+
$current = explode(',', $this->isForce() ? $this->getForceLocale() : $this->appLocale());
4543
$app = explode(',', $this->appLocale());
4644

4745
return $this->getCorrectedLocale(

0 commit comments

Comments
 (0)