Skip to content

Commit 9d9f5aa

Browse files
committed
nitpick
1 parent ca8181b commit 9d9f5aa

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

demo/client/introspect.php

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
use PhpXmlRpc\Client;
1414
use PhpXmlRpc\Helper\XMLParser as XMLRPCParser;
1515
use PhpXmlRpc\Request;
16+
use PhpXmlRpc\Value;
1617

1718
function display_error($r)
1819
{
@@ -49,9 +50,9 @@ function display_error($r)
4950
foreach ($v as $methodName) {
5051
output("<h4>" . htmlspecialchars($methodName) . "</h4>\n");
5152
// build requests first, add params later
52-
$r1 = new PhpXmlRpc\Request('system.methodHelp');
53-
$r2 = new PhpXmlRpc\Request('system.methodSignature');
54-
$val = new PhpXmlRpc\Value($methodName, "string");
53+
$r1 = new Request('system.methodHelp');
54+
$r2 = new Request('system.methodSignature');
55+
$val = new Value($methodName, "string");
5556
$r1->addParam($val);
5657
$r2->addParam($val);
5758
// Send multiple requests in one/many http calls.

0 commit comments

Comments
 (0)