Skip to content

Commit

Permalink
Merge pull request #599 from ulue/dev2
Browse files Browse the repository at this point in the history
update some
  • Loading branch information
inhere authored Sep 14, 2020
2 parents 916c258 + aa2294b commit 9a0146b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/framework/src/Swoft.php
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ public static function getReflection(string $class): array
*
* @return string
*/
public static function t(string $key, array $params = [], string $locale = '2.0.10'): string
public static function t(string $key, array $params = [], string $locale = ''): string
{
/* @var I18n $i18n */
$i18n = BeanFactory::getBean('i18n');
Expand Down

0 comments on commit 9a0146b

Please sign in to comment.