forked from laravel/framework
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[8.x] Fix route groups with no prefix on PHP 8.1 (laravel#39115)
* PHP 8.1, fix route groups with no prefix. In php 8.1 calling trim() on null values is deprecated and since my route collection have groups without a defined prefix, I get an error on this line of code. Parsing in an empty string as opposed to null is the minimal change which solves the problem. * Added test cast for grouped route without prefix
- Loading branch information
1 parent
1557042
commit a683198
Showing
2 changed files
with
11 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters