-
-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
39f05ff
commit 626151c
Showing
10 changed files
with
8 additions
and
15 deletions.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
final class Group | ||
{ | ||
/** | ||
* @var Group[]|Route[]|RoutableInterface[] | ||
* @var Group[]|RoutableInterface[]|Route[] | ||
*/ | ||
private array $routes = []; | ||
|
||
|
@@ -195,7 +195,7 @@ private function assertMiddlewares(array $middlewares): void | |
*/ | ||
private function assertRoutes(array $routes): void | ||
{ | ||
/** @var Route|Group|RoutableInterface $route */ | ||
/** @var Group|RoutableInterface|Route $route */ | ||
foreach ($routes as $route) { | ||
Check warning on line 199 in src/Group.php GitHub Actions / mutation / PHP 8.1-ubuntu-latest
Check warning on line 199 in src/Group.php GitHub Actions / mutation / PHP 8.1-ubuntu-latest
|
||
if ($route instanceof Route || $route instanceof self || $route instanceof RoutableInterface) { | ||
Check warning on line 200 in src/Group.php GitHub Actions / mutation / PHP 8.1-ubuntu-latest
Check warning on line 200 in src/Group.php GitHub Actions / mutation / PHP 8.1-ubuntu-latest
|
||
continue; | ||
Check warning on line 201 in src/Group.php GitHub Actions / mutation / PHP 8.1-ubuntu-latest
Check warning on line 201 in src/Group.php GitHub Actions / mutation / PHP 8.1-ubuntu-latest
|
||
|
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
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
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
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