From 00b42663891713f142a6cc67bcccdc31353daeb2 Mon Sep 17 00:00:00 2001 From: Wolfy-J Date: Mon, 14 Dec 2020 13:27:35 +0300 Subject: - removed old RoadRunner code - added new RR source code --- tests/broken.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/broken.php') diff --git a/tests/broken.php b/tests/broken.php index 42b4e7c2..1f869b2d 100644 --- a/tests/broken.php +++ b/tests/broken.php @@ -8,7 +8,7 @@ use Spiral\RoadRunner; $rr = new RoadRunner\Worker($relay); -while ($in = $rr->receive($ctx)) { +while ($in = $rr->waitPayload()) { echo undefined_function(); - $rr->send((string)$in); + $rr->send((string)$in->body, null); } -- cgit v1.2.3