用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)
感謝老大?。?!