Skip to content

Commit 6df237d

Browse files
Merge pull request #2287 from ankitraj5ar/patch-1
Fix undefined method call: replace body() with getBody() in rpc_clien…
2 parents 1bbfe81 + a0a74b0 commit 6df237d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tutorials/tutorial-six-php.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ class FibonacciRpcClient
296296
public function onResponse(AMQPMessage $rep)
297297
{
298298
if ($rep->get('correlation_id') === $this->corr_id) {
299-
$this->response = $rep->body();
299+
$this->response = $rep->getBody();
300300
}
301301
}
302302

0 commit comments

Comments
 (0)