From 5d5bd485dcdf49a091167cb83feef75637e778c3 Mon Sep 17 00:00:00 2001 From: Matthew Weier O'Phinney Date: Fri, 9 Mar 2012 10:49:33 -0600 Subject: [PATCH] Correct fix is to change class name from SMD to Smd - Updated Zend\Json\Server\SMD to Zend\Json\Server\Smd - Reverted "new SMD" to "new Smd" in Zend\Json\Server\Server --- src/Server/Server.php | 2 +- src/Server/Smd.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Server/Server.php b/src/Server/Server.php index 24e172d8c..03937f883 100644 --- a/src/Server/Server.php +++ b/src/Server/Server.php @@ -356,7 +356,7 @@ public function __call($method, $args) public function getServiceMap() { if (null === $this->_serviceMap) { - $this->_serviceMap = new SMD(); + $this->_serviceMap = new Smd(); } return $this->_serviceMap; } diff --git a/src/Server/Smd.php b/src/Server/Smd.php index 5be6626ed..9cb2c25c3 100644 --- a/src/Server/Smd.php +++ b/src/Server/Smd.php @@ -37,7 +37,7 @@ * @copyright Copyright (c) 2005-2012 Zend Technologies USA Inc. (http://www.zend.com) * @license http://framework.zend.com/license/new-bsd New BSD License */ -class SMD +class Smd { const ENV_JSONRPC_1 = 'JSON-RPC-1.0'; const ENV_JSONRPC_2 = 'JSON-RPC-2.0';