summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 911b5859..3eb0787e 100644
--- a/README.md
+++ b/README.md
@@ -50,9 +50,9 @@ use Spiral\RoadRunner;
$rr = new RoadRunner\Worker($relay);
-while ($in = $rr->receive($context)) {
+while ($body = $rr->receive($context)) {
try {
- $rr->send((string)$in, (string)$context);
+ $rr->send((string)$body, (string)$context);
} catch (\Throwable $e) {
$rr->error((string)$e);
}