Skip to content

Commit 06fb5ae

Browse files
fergthhthemsaid
authored andcommitted
Fixed StyleCI
1 parent 7ec96f3 commit 06fb5ae

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Commands/MissingCommand.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,15 +122,13 @@ private function getDefaultValue($missingKey)
122122
private function getTranslationInDefaultLocaleFor($missingKey)
123123
{
124124
try {
125-
126125
list($langKey, $lang) = explode(':', $missingKey);
127126

128127
list($file, $key) = explode('.', $langKey);
129128

130129
$filePath = $this->manager->files()[$file][config('app.locale')];
131130

132-
return config('app.locale') . ":{$this->manager->getFileContent($filePath)[$key]}";
133-
131+
return config('app.locale') . ":{$this->manager->getFileContent($filePath)[$key]}";
134132
} catch (\Exception $e) {
135133
return "Sorry. File Language not exists for default locale.";
136134
}

0 commit comments

Comments
 (0)