[PHP] fix a little bug in BaseStub.getDefaultChannel() #32705 (#32792)

@alto-php This is my first PR on GitHub, thank you.. #32705
pull/32801/head
hedane 2 years ago committed by GitHub
parent 6f81b87122
commit bb4acc9950
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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);
}
/**

Loading…
Cancel
Save