summaryrefslogtreecommitdiff
path: root/framework/Util/TRpcClient.php
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Util/TRpcClient.php')
-rw-r--r--framework/Util/TRpcClient.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/framework/Util/TRpcClient.php b/framework/Util/TRpcClient.php
index 73ff25ed..dbda931e 100644
--- a/framework/Util/TRpcClient.php
+++ b/framework/Util/TRpcClient.php
@@ -7,6 +7,7 @@
* @license http://www.pradosoft.com/license/
* @version $Id: TRpcClient.php 137 2010-03-27 22:13:36Z rrogge $
* @since 3.2
+ * @package System.Util
*/
/**
@@ -280,7 +281,7 @@ class TJsonRpcClient extends TRpcClient
* @param string url of the rpc server
* @param boolean whether the requests are considered to be notifications (completely ignoring the response) (default: false)
*/
- public static function create($serverUrl, $isNotification = false)
+ public static function create($type, $serverUrl, $isNotification = false)
{
return new self($serverUrl, $isNotification);
}
@@ -351,7 +352,7 @@ class TXmlRpcClient extends TRpcClient
* @param string url of the rpc server
* @param boolean whether the requests are considered to be notifications (completely ignoring the response) (default: false)
*/
- public static function create($serverUrl, $isNotification = false)
+ public static function create($type, $serverUrl, $isNotification = false)
{
return new self($serverUrl, $isNotification);
}