commit | 34d21ceadcc7e83f15f3bdcfa6955940c6e4d30a | [log] [tgz] |
---|---|---|
author | thinkerou <thinkerou@gmail.com> | Sun Mar 26 01:07:27 2017 +0800 |
committer | thinkerou <thinkerou@gmail.com> | Sun Mar 26 01:10:21 2017 +0800 |
tree | b11deaba9bc99fbbe727c755538c1e765fd17678 | |
parent | 9d67ee7222a3df65ba949d810667fdd1d7bdfc73 [diff] [blame] |
fix php style
diff --git a/src/php/lib/Grpc/AbstractCall.php b/src/php/lib/Grpc/AbstractCall.php index 4833fdc..a59bfa3 100644 --- a/src/php/lib/Grpc/AbstractCall.php +++ b/src/php/lib/Grpc/AbstractCall.php
@@ -131,7 +131,7 @@ // Proto3 implementation if (method_exists($data, 'encode')) { return $data->encode(); - } else if (method_exists($data, 'serializeToString')) { + } elseif (method_exists($data, 'serializeToString')) { return $data->serializeToString(); }