Skip to content

Commit 5945820

Browse files
committed
refactor: rename variable
1 parent 6b72d1b commit 5945820

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

system/Common.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -768,14 +768,14 @@ function lang(string $line, array $args = [], ?string $locale = null)
768768
$language->setLocale($locale);
769769
}
770770

771-
$line = $language->getLine($line, $args);
771+
$lines = $language->getLine($line, $args);
772772

773773
if ($locale && $locale !== $activeLocale) {
774774
// Reset to active locale
775775
$language->setLocale($activeLocale);
776776
}
777777

778-
return $line;
778+
return $lines;
779779
}
780780
}
781781

0 commit comments

Comments
 (0)