aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/lib/Grpc/BaseStub.php
diff options
context:
space:
mode:
authorGravatar thinkerou <thinkerou@gmail.com>2016-07-20 16:59:54 +0800
committerGravatar thinkerou <thinkerou@gmail.com>2016-07-20 17:03:33 +0800
commita3730b75f8cf086f7eedc2f34ad6d928b69b28d0 (patch)
treeb1667e353e369088e6c41c797596456b9027ee6a /src/php/lib/Grpc/BaseStub.php
parentf3f5c18e5ad14a35351f672181c51998b589cef3 (diff)
support php7 by marco
Diffstat (limited to 'src/php/lib/Grpc/BaseStub.php')
-rw-r--r--[-rwxr-xr-x]src/php/lib/Grpc/BaseStub.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/php/lib/Grpc/BaseStub.php b/src/php/lib/Grpc/BaseStub.php
index df3fe85d44..2fec1bd9cc 100755..100644
--- a/src/php/lib/Grpc/BaseStub.php
+++ b/src/php/lib/Grpc/BaseStub.php
@@ -84,8 +84,8 @@ class BaseStub
}
if ($channel) {
if (!is_a($channel, 'Channel')) {
- throw new \Exception("The channel argument is not a".
- "Channel object");
+ throw new \Exception('The channel argument is not a'.
+ 'Channel object');
}
$this->channel = $channel;
} else {