diff options
Diffstat (limited to 'examples/php/greeter_client.php')
-rw-r--r-- | examples/php/greeter_client.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/php/greeter_client.php b/examples/php/greeter_client.php index 8ae19ae46c..e5e4c2651e 100644 --- a/examples/php/greeter_client.php +++ b/examples/php/greeter_client.php @@ -36,8 +36,7 @@ require dirname(__FILE__) . '/vendor/autoload.php'; require dirname(__FILE__) . '/helloworld.php'; function greet($name) { - $client = new helloworld\GreeterClient( - new Grpc\BaseStub('localhost:50051', [])); + $client = new helloworld\GreeterClient('localhost:50051', []); $request = new helloworld\HelloRequest(); $request->setName($name); list($reply, $status) = $client->SayHello($request)->wait(); |