From 2f816f28e6f7344f672dc11732f32a1e445adfe8 Mon Sep 17 00:00:00 2001 From: Adam Nichols Date: Thu, 11 Jan 2007 21:25:29 +0000 Subject: [PATCH] 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 --- lib/php/src/protocol/TProtocol.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.17.1