Must be compatible with Symfony

Hi comunity we have a problem in my project yii2 i share my message from backend module.

PHP Compile Error – yii\base\ErrorException

Declaration of Symfony\Component\Translation\TranslatorInterface::setLocale($locale) must be compatible with Symfony\Contracts\Translation\LocaleAwareInterface::setLocale(string $locale)

This means that the Symfony\Component\Translation version is incompatible with Symfony\Contracts\Translation version which uses typed method arguments. Are your composer dependencies properly updated?

yes i updated composer “composer update” but i find that, symfony is not compatible with Carbon, symfony is a module that install jenssenger so Jenssenger is the problem i used php 7.2