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

Correct return RouteNameData #10

Merged
merged 2 commits into from
Jun 12, 2024
Merged

Conversation

l3aro
Copy link
Contributor

@l3aro l3aro commented Jun 12, 2024

When using middleware Parameter or ParameterWithRedirect, an exception occurs

LaravelLang\Routes\Middlewares\LocalizationByParameterWithRedirect::names(): Return value must be of type LaravelLang\Config\Data\RouteNameData, LaravelLang\Config\Data\Shared\RouteNameData returned

Copy link
Member

@andrey-helldar andrey-helldar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@andrey-helldar andrey-helldar merged commit e02eb7d into Laravel-Lang:main Jun 12, 2024
7 checks passed
@andrey-helldar andrey-helldar added the fix Functionality or something fix label Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fix Functionality or something fix
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants