aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/lib/Grpc/BaseStub.php
diff options
context:
space:
mode:
authorGravatar thinkerou <thinkerou@gmail.com>2016-07-21 10:51:45 +0800
committerGravatar thinkerou <thinkerou@gmail.com>2016-07-21 10:51:45 +0800
commit104ae8dad6fb45e2c3b96f6db321974a30967e02 (patch)
treeedd1efb66ff1dda8bdeb72388dfed49592c31ca3 /src/php/lib/Grpc/BaseStub.php
parent2a083033e2559ddb4bbba8ed595067cbd7d392b2 (diff)
support php7 on v1.0.x branch
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 {