aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/php/lib/Grpc/Interceptor.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/php/lib/Grpc/Interceptor.php')
-rw-r--r--src/php/lib/Grpc/Interceptor.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/php/lib/Grpc/Interceptor.php b/src/php/lib/Grpc/Interceptor.php
index 9c1b5616f2..e1b97f2a84 100644
--- a/src/php/lib/Grpc/Interceptor.php
+++ b/src/php/lib/Grpc/Interceptor.php
@@ -75,10 +75,10 @@ class Interceptor
{
if (is_array($interceptors)) {
for ($i = count($interceptors) - 1; $i >= 0; $i--) {
- $channel = new InterceptorChannel($channel, $interceptors[$i]);
+ $channel = new Internal\InterceptorChannel($channel, $interceptors[$i]);
}
} else {
- $channel = new InterceptorChannel($channel, $interceptors);
+ $channel = new Internal\InterceptorChannel($channel, $interceptors);
}
return $channel;
}