【发布时间】:2020-01-13 00:39:05
【问题描述】:
运行后php artisan cache:clear
我收到错误:
声明 Symfony\Component\Translation\TranslatorInterface::setLocale($locale) 必须与 Symfony\Contracts\Translation\LocaleAwareInterface::setLocale(string $locale) 兼容
【问题讨论】:
-
你的 php 版本 和 laravel 框架版本 是什么?
-
php 7.1 & laravel 5.8
-
请附上您有问题的
composer.json文件