Laravelをインストールして立ち上がると、下記のエラーが出ました。
Symfony\Component\Debug\Exception\FatalErrorExceptionDeclaration of Symfony\Component\Translation\TranslatorInterface::setLocale($locale) must be compatible with Symfony\Contracts\Translation\LocaleAwareInterface::setLocale(string $locale)
![](http://www.it-view.net/wp-content/uploads/2020/02/スクリーンショット-2020-01-21-23.38.33-1024x228.png)
いろいろ調べて以下の方法で解決しました。
まず、composer.jsonにsymfony/translationを追加します。
"require": {
...
"symfony/translation": "4.3.8",
}
次は
composer update