We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 712ddbf + 9527ee9 commit 95be341Copy full SHA for 95be341
system/Router/AutoRouterImproved.php
@@ -104,7 +104,9 @@ public function __construct(// @phpstan-ignore-line
104
*/
105
public function getRoute(string $uri, string $httpVerb): array
106
{
107
- $defaultMethod = strtolower($httpVerb) . ucfirst($this->defaultMethod);
+ $httpVerb = strtolower($httpVerb);
108
+
109
+ $defaultMethod = $httpVerb . ucfirst($this->defaultMethod);
110
$this->method = $defaultMethod;
111
112
$segments = explode('/', $uri);
0 commit comments