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

Revert " [11.x] Allow adding array or string for web and api routes in bootstrap/app.php" #51407

Closed
wants to merge 1 commit into from

Conversation

driesvints
Copy link
Member

Reverts #51356

Comment on lines -185 to -186
protected function buildRoutingCallback(array|string|null $web = null,
array|string|null $api = null,
Copy link
Contributor

Choose a reason for hiding this comment

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

Wouldn't just removing these default values fix the issue?

The funcionality seems useful, I believe fixing it like that should be okay?

Copy link
Member Author

Choose a reason for hiding this comment

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

I thought these defaults were essential for that PR to work. I could be mistaken.

@driesvints driesvints requested a review from taylorotwell May 14, 2024 14:09
@taylorotwell
Copy link
Member

I'll just remove those defaults.

@taylorotwell taylorotwell deleted the revert-51356-11.x branch May 15, 2024 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants