diff --git a/src/php/lib/Grpc/BaseStub.php b/src/php/lib/Grpc/BaseStub.php index 620122adae9..c369e953f34 100644 --- a/src/php/lib/Grpc/BaseStub.php +++ b/src/php/lib/Grpc/BaseStub.php @@ -120,7 +120,7 @@ class BaseStub public static function getDefaultChannel($hostname, array $opts) { $channel_opts = self::updateOpts($opts); - return new Channel($hostname, $opts); + return new Channel($hostname, $channel_opts); } /**