From: Adam Nichols Date: Thu, 11 Jan 2007 21:25:29 +0000 (+0000) Subject: minor syntax change in thrift php library, reviewed by slee, revertible X-Git-Tag: 0.2.0~1566 X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=2f816f28e6f7344f672dc11732f32a1e445adfe8;p=common%2Fthrift.git minor syntax change in thrift php library, reviewed by slee, revertible git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@664906 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/lib/php/src/protocol/TProtocol.php b/lib/php/src/protocol/TProtocol.php index 2ef42c15..eb150e37 100644 --- a/lib/php/src/protocol/TProtocol.php +++ b/lib/php/src/protocol/TProtocol.php @@ -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);