Fix one signature of proxy method in proxy.php demo file
authorgggeek <giunta.gaetano@gmail.com>
Sat, 23 May 2015 18:29:03 +0000 (19:29 +0100)
committergggeek <giunta.gaetano@gmail.com>
Sat, 23 May 2015 18:29:03 +0000 (19:29 +0100)
demo/server/proxy.php

index adf8004..fa74d3a 100644 (file)
@@ -80,7 +80,7 @@ $server = new PhpXmlRpc\Server(
             'function' => 'forward_request',
             'signature' => array(
                 array('mixed', 'string', 'string', 'array'),
-                array('mixed', 'string', 'string', 'array', 'stuct'),
+                array('mixed', 'string', 'string', 'array', 'struct'),
             ),
             'docstring' => 'forwards xmlrpc calls to remote servers. Returns remote method\'s response. Accepts params: remote server url (might include basic auth credentials), method name, array of params, and (optionally) a struct containing call options',
         ),