We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
@
1 parent 1a95c89 commit 78b0ac6Copy full SHA for 78b0ac6
1 file changed
system/HTTP/SiteURIFactory.php
@@ -178,7 +178,7 @@ private function parseRequestURI(): string
178
*/
179
private function parseQueryString(): string
180
{
181
- $query = $this->superglobals->server('QUERY_STRING') ?? @getenv('QUERY_STRING');
+ $query = $this->superglobals->server('QUERY_STRING') ?? (string) getenv('QUERY_STRING');
182
183
if (trim($query, '/') === '') {
184
return '/';
0 commit comments