Fix: lowercase class name makes debugger break on HHVM
authorgggeek <giunta.gaetano@gmail.com>
Tue, 14 Apr 2015 21:48:11 +0000 (22:48 +0100)
committergggeek <giunta.gaetano@gmail.com>
Tue, 14 Apr 2015 21:48:11 +0000 (22:48 +0100)
debugger/action.php

index 0345798..7bb07f5 100644 (file)
@@ -104,11 +104,11 @@ if ($action) {
         if (!class_exists('jsonrpc_client')) {
             die('Error: to debug the jsonrpc protocol the jsonrpc.inc file is needed');
         }
-        $clientClass = 'PhpJsRpc\client';
-        $requestClass = 'PhpJsRpc\request';
+        $clientClass = 'PhpJsRpc\Client';
+        $requestClass = 'PhpJsRpc\Request';
         $protoName = 'JSONRPC';
     } else {
-        $clientClass = 'PhpXmlRpc\client';
+        $clientClass = 'PhpXmlRpc\Client';
         $requestClass = 'PhpXmlRpc\Request';
         $protoName = 'XMLRPC';
     }