Locastic / ApiPlatformTranslationBundle

Translation bundle for ApiPlatform based on Sylius translation
MIT License
85 stars 28 forks source link

Bug: fix conflicts with symfony/translations-contracts <2.0 #26

Closed Margauxfeslard closed 3 years ago

Margauxfeslard commented 3 years ago

Uptading Locastic 1.3.2 <2.0 symfony/translations-contracts::trans isn't compatible with locastic/ApiPlatformTranslationBundle::trans because of the $domain and $locale typehint.

symfony/translations-contracts::trans($id, array $parameters = [], $domain = null, $locale = null); locastic/ApiPlatformTranslationBundle::trans($id, array $parameters = array(), string $domain = null, string $locale = null): string