Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update TranslatorInterface.php setLocale() #11

Closed
wants to merge 1 commit into from
Closed

Update TranslatorInterface.php setLocale() #11

wants to merge 1 commit into from

Conversation

ghost
Copy link

@ghost ghost commented Nov 22, 2019

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

Fix: Add typing 'string' in C:\Bitnami\server\apps\gateway-link-api\vendor\symfony\translation\TranslatorInterface::setLocale(string $locale);

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

Fix: Add typing 'string' in C:\Bitnami\server\apps\gateway-link-api\vendor\symfony\translation\TranslatorInterface::setLocale(string $locale);
@symfony-bot
Copy link

symfony-bot bot commented Nov 22, 2019

Thanks for your pull request! We love contributions.

However, this repository is what we call a "subtree split": a read-only copy of one directory of the main Symfony repository. It is used by Composer to allow developers to depend on specific Symfony components.

If you want to contribute, you should instead open a pull request on the main repository:

https://github.com/symfony/symfony

Thank you for your contribution!

PS: if you haven't already, please add tests, and beware that bug fixes should be submitted on the lowest maintained branch where they apply; only features should be submitted against the master branch.

@symfony-bot symfony-bot bot closed this Nov 22, 2019
@ghost ghost deleted the 4.4 branch November 22, 2019 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant