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.
1 parent cb7a9af commit 0a830ddCopy full SHA for 0a830dd
tests/TestCase.php
@@ -32,7 +32,7 @@ protected function mockRequest(string $method, string $url): void
32
$urlParts = parse_url($url);
33
34
$_SERVER['SERVER_NAME'] = $urlParts['host'];
35
- $_SERVER['REQUEST_URI'] = $urlParts['path'] . '?' . $urlParts['query'] ?? '';
+ $_SERVER['REQUEST_URI'] = $urlParts['path'] . '?' . ($urlParts['query'] ?? '');
36
$_SERVER['REQUEST_METHOD'] = $method;
37
}
38
0 commit comments