minor syntax change in thrift php library, reviewed by slee, revertible
authorAdam Nichols <adam@apache.org>
Thu, 11 Jan 2007 21:25:29 +0000 (21:25 +0000)
committerAdam Nichols <adam@apache.org>
Thu, 11 Jan 2007 21:25:29 +0000 (21:25 +0000)
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664906 13f79535-47bb-0310-9956-ffa450edef68

lib/php/src/protocol/TProtocol.php

index 2ef42c1..eb150e3 100644 (file)
@@ -216,7 +216,7 @@ abstract class TProtocol {
       return $this->readBool($bool);
     case TType::BYTE:
       return $this->readByte($byte);
-    case TType::I16;
+    case TType::I16:
       return $this->readI16($i16);
     case TType::I32:
       return $this->readI32($i32);
@@ -285,7 +285,7 @@ abstract class TProtocol {
       return $itrans->readAll(1);
     case TType::BYTE:
       return $itrans->readAll(1);
-    case TType::I16;
+    case TType::I16:
       return $itrans->readAll(2);
     case TType::I32:
       return $itrans->readAll(4);