aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/lib/Grpc/Internal/InterceptorChannel.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/php/lib/Grpc/Internal/InterceptorChannel.php')
-rw-r--r--src/php/lib/Grpc/Internal/InterceptorChannel.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/php/lib/Grpc/Internal/InterceptorChannel.php b/src/php/lib/Grpc/Internal/InterceptorChannel.php
index 9ac05748f3..4677fb5aef 100644
--- a/src/php/lib/Grpc/Internal/InterceptorChannel.php
+++ b/src/php/lib/Grpc/Internal/InterceptorChannel.php
@@ -17,7 +17,7 @@
*
*/
-namespace Grpc;
+namespace Grpc\Internal;
/**
* This is a PRIVATE API and can change without notice.
@@ -35,7 +35,7 @@ class InterceptorChannel
public function __construct($channel, $interceptor)
{
if (!is_a($channel, 'Grpc\Channel') &&
- !is_a($channel, 'Grpc\InterceptorChannel')) {
+ !is_a($channel, 'Grpc\Internal\InterceptorChannel')) {
throw new \Exception('The channel argument is not a Channel object '.
'or an InterceptorChannel object created by '.
'Interceptor::intercept($channel, Interceptor|Interceptor[] $interceptors)');