aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/php/greeter_client.php
diff options
context:
space:
mode:
authorGravatar Stanley Cheung <stanleycheung@google.com>2015-09-24 15:27:58 -0700
committerGravatar Stanley Cheung <stanleycheung@google.com>2015-09-24 15:27:58 -0700
commitd2dd37bca9457ac6d144e1dd89a9aed6a28a8e9f (patch)
tree025bf73cc4a6b3c1389c57ffd870d26f08769205 /examples/php/greeter_client.php
parente748cd6ccc94e521fa9f1d273a5cb4eacae0cd76 (diff)
php: update helloworld and route guide after beta release
Diffstat (limited to 'examples/php/greeter_client.php')
-rw-r--r--examples/php/greeter_client.php3
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();