summaryrefslogtreecommitdiff
path: root/ext/xmlrpc/xmlrpc.stub.php
diff options
context:
space:
mode:
Diffstat (limited to 'ext/xmlrpc/xmlrpc.stub.php')
-rw-r--r--ext/xmlrpc/xmlrpc.stub.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/xmlrpc/xmlrpc.stub.php b/ext/xmlrpc/xmlrpc.stub.php
index e97a3d08ba..633a6f35d3 100644
--- a/ext/xmlrpc/xmlrpc.stub.php
+++ b/ext/xmlrpc/xmlrpc.stub.php
@@ -6,13 +6,13 @@ final class XmlRpcServer
{
}
-function xmlrpc_encode($value): ?string {}
+function xmlrpc_encode(mixed $value): ?string {}
function xmlrpc_decode(string $xml, string $encoding = "iso-8859-1"): mixed {}
function xmlrpc_decode_request(string $xml, &$method, string $encoding = "iso-8859-1"): mixed {}
-function xmlrpc_encode_request(?string $method, $params, array $output_options = UNKNOWN): ?string {}
+function xmlrpc_encode_request(?string $method, mixed $params, array $output_options = []): ?string {}
function xmlrpc_get_type(mixed $value): string {}
@@ -26,7 +26,7 @@ function xmlrpc_server_destroy(XmlRpcServer $server): bool {}
function xmlrpc_server_register_method(XmlRpcServer $server, string $method_name, $function): bool {}
-function xmlrpc_server_call_method(XmlRpcServer $server, string $xml, $user_data, array $output_options = UNKNOWN): mixed {}
+function xmlrpc_server_call_method(XmlRpcServer $server, string $xml, mixed $user_data, array $output_options = []): mixed {}
function xmlrpc_parse_method_descriptions(string $xml): mixed {}