diff --git a/NEWS.md b/NEWS.md index 3d31ab2..17be96a 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,3 +1,10 @@ +## XML-RPC for PHP EXTRAS version 1.0-beta4 - 2024/4/16 + +- fixed: a php warning emitted by class `ReverseProxy` because of compatibility with its parent class + +- bumped the minimum required version of phpxmlrpc/phpxmlrpc to 4.10.1 + + ## XML-RPC for PHP EXTRAS version 1.0-beta3 - 2024/4/15 - bumped the minimum required version of php to 5.4 diff --git a/composer.json b/composer.json index db7defc..41e1533 100644 --- a/composer.json +++ b/composer.json @@ -6,7 +6,7 @@ "keywords": [ "xmlrpc", "webservices", "jsonrpc" ], "require": { "php": "^5.4.0 || ^7.0 || ^8.0", - "phpxmlrpc/phpxmlrpc": "^4.10.0" + "phpxmlrpc/phpxmlrpc": "^4.10.1" }, "require-dev": { "ext-curl": "*", diff --git a/src/ReverseProxy.php b/src/ReverseProxy.php index bed8a98..8501fb1 100644 --- a/src/ReverseProxy.php +++ b/src/ReverseProxy.php @@ -132,7 +132,7 @@ public function acquireServerMethods($methodList = null) } // avoid checking for existing methods while parsing the request - public function methodNameCallback($methodName, $xmlParser, $parser) + public function methodNameCallback($methodName, $xmlParser, $parser = null) { } }