Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Declaration of Symfony\Component\String\Slugger\AsciiSlugger::getLocale() must be compatible with Symfony\Contracts\Translation\LocaleAwareInterface::getLocale(): string #44275

Closed
@dkarlovi

Description

@dkarlovi

Symfony version(s) affected

5.4.0-RC1

Description

PHP Fatal error:  Declaration of Symfony\Component\String\Slugger\AsciiSlugger::getLocale() must be compatible with Symfony\Contracts\Translation\LocaleAwareInterface::getLocale()

How to reproduce

Checking the source code, they seem to be incompatible currently?

Possible Solution

No response

Additional Context

Versions installed

symfony/string                       v5.4.0-RC1 Provides an object-oriented...
symfony/translation-contracts        v3.0.0     Generic abstractions relate...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions