1st pass at cleanup of unit tests; a couple of nitpicks from SLInsights
[plcapi.git] / demo / client / proxy.php
index 7173db0..a8c696c 100644 (file)
@@ -31,7 +31,7 @@ class PhpXmlRpcProxy
      *
      * @throws Exception
      */
-    function __call($name, $arguments)
+    public function __call($name, $arguments)
     {
         $encoder = new PhpXmlRpc\Encoder();
         $valueArray = array();
@@ -57,4 +57,4 @@ $stateNo = rand(1, 51);
 $proxy = new PhpXmlRpcProxy(new \PhpXmlRpc\Client('http://phpxmlrpc.sourceforge.net/server.php'));
 $stateName = $proxy->getStateName($stateNo);
 
-echo "State $stateNo is ".htmlspecialchars($stateName);
\ No newline at end of file
+echo "State $stateNo is ".htmlspecialchars($stateName);