Skip to content

Commit

Permalink
http_build_query, $sArgSeparator can accept NULL
Browse files Browse the repository at this point in the history
  • Loading branch information
pH-7 committed Apr 11, 2023
1 parent 10e90ab commit cc30617
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _protected/framework/Url/Url.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ public static function clean(string $sUrl): string
*
* @return string Returns a URL-encoded string.
*/
public static function httpBuildQuery(array $aParams, string $sNumericPrefix = '', string $sArgSeparator = '&', int $iEncType = PHP_QUERY_RFC1738): string
public static function httpBuildQuery(array $aParams, string $sNumericPrefix = '', string|null $sArgSeparator = '&', int $iEncType = PHP_QUERY_RFC1738): string
{
return http_build_query($aParams, $sNumericPrefix, $sArgSeparator, $iEncType);
}
Expand Down

0 comments on commit cc30617

Please sign in to comment.