Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
ASKozienko committed Jun 14, 2017
1 parent 93e8f5d commit 863166b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/client/rpc_call.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ $promises[] = $rpcClient->callAsync('greeting_topic', 'Hi Thomas!', 5);

$replyMessages = [];
foreach ($promises as $promise) {
$replyMessages[] = $promise->getMessage();
$replyMessages[] = $promise->receive();
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/quick_tour.md
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ $message = $psrContext->createMessage('Hi there!');
$rpcClient = new RpcClient($psrContext);

$promise = $rpcClient->callAsync($queue, $message, 1);
$replyMessage = $promise->getMessage();
$replyMessage = $promise->receive();
```

There is also extensions for the consumption component.
Expand Down

0 comments on commit 863166b

Please sign in to comment.