Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
taylorotwell committed Jan 23, 2019
1 parent d045e66 commit 18a6ec7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Illuminate/Translation/Translator.php
Original file line number Diff line number Diff line change
Expand Up @@ -244,8 +244,8 @@ protected function getLine($namespace, $group, $locale, $item, array $replace)
if (is_string($line)) {
return $this->makeReplacements($line, $replace);
} elseif (is_array($line) && count($line) > 0) {
foreach ($line as $key => $val) {
$line[$key] = $this->makeReplacements($val, $replace);
foreach ($line as $key => $value) {
$line[$key] = $this->makeReplacements($value, $replace);
}

return $line;
Expand Down

0 comments on commit 18a6ec7

Please sign in to comment.