diff --git a/src/UrlInfo/UrlInfo.php b/src/UrlInfo/UrlInfo.php index f036650..78fa83f 100644 --- a/src/UrlInfo/UrlInfo.php +++ b/src/UrlInfo/UrlInfo.php @@ -390,7 +390,7 @@ class UrlInfo { * @return string The URL arguments as a string */ public function getArgumentsAsString (int $encoding_type = PHP_QUERY_RFC1738): string { - return http_build_query($this->getArguments()->toArray(), '', null, $encoding_type); + return http_build_query($this->getArguments()->toArray(), '', '&', $encoding_type); } /** * Set the URL arguments