We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5073e8b commit 26c4035Copy full SHA for 26c4035
1 file changed
system/Router/RouteCollection.php
@@ -1700,7 +1700,9 @@ public function resetRoutes()
1700
*/
1701
protected function loadRoutesOptions(?string $verb = null): array
1702
{
1703
- $verb = $verb ?: $this->getHTTPVerb();
+ if (null === $verb || $verb === '') {
1704
+ $verb = $this->getHTTPVerb();
1705
+ }
1706
1707
$options = $this->routesOptions[$verb] ?? [];
1708
0 commit comments