diff --git a/mailpoet/tasks/fix-guzzle.php b/mailpoet/tasks/fix-guzzle.php index cf3305053a..3df4d5f7db 100644 --- a/mailpoet/tasks/fix-guzzle.php +++ b/mailpoet/tasks/fix-guzzle.php @@ -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); }