diff options
author | Wolfy-J <[email protected]> | 2018-01-28 18:33:32 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-01-28 18:33:32 +0300 |
commit | e065b650ad2d3b0c58fe73fa75c9f730a36eee86 (patch) | |
tree | 8edbd114be608aa4517b27f54f1ef89d4dd8422c /README.md | |
parent | e94299b8a4d0bc987d630dc9067fc71187d9c99f (diff) |
Context
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); } |