Fix type hint in fix-guzzle.php
[PREMIUM-199]
This commit is contained in:
committed by
alex-mailpoet
parent
e7534132d3
commit
a1ef5f9568
@ -24,8 +24,8 @@ if (!file_exists($clientFilePath) || version_compare(phpversion(), '8.0.0') == -
|
||||
}
|
||||
$replacement = '
|
||||
// Updated by MailPoet
|
||||
function http_build_query($data, string $numeric_prefix = "", ?string $arg_separator = "&", int $encoding_type = PHP_QUERY_RFC1738) {
|
||||
$prefix = empty($numeric_prefix) ? "" : $numeric_prefix;
|
||||
function http_build_query($data, ?string $numeric_prefix = "", ?string $arg_separator = "&", int $encoding_type = PHP_QUERY_RFC1738) {
|
||||
$prefix = empty($numeric_prefix) ? "" : $numeric_prefix;
|
||||
return \http_build_query($data, $numeric_prefix, $arg_separator, $encoding_type);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user