用locale()切换语言提示报错,哪个大佬碰见过呀?用的默认的symfony/translation
locale('en');
Return value of locale() must be of the type string, none returned
手动修改下 support/helpers.php function locale(string $locale = null): string 改成 function locale(string $locale = null)
function locale(string $locale = null): string
function locale(string $locale = null)
感谢老大!!!
手动修改下 support/helpers.php
function locale(string $locale = null): string
改成function locale(string $locale = null)
感谢老大!!!