From 546b350a35b35af9eecb61aab5f7bcbbaffd449f Mon Sep 17 00:00:00 2001 From: Anton Titov Date: Thu, 18 Feb 2021 16:44:10 +0300 Subject: fix(php): PHP tests to use latest signatures (#550) --- tests/head.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/head.php') diff --git a/tests/head.php b/tests/head.php index 3c57258f..80733166 100644 --- a/tests/head.php +++ b/tests/head.php @@ -10,7 +10,7 @@ $rr = new RoadRunner\Worker($relay); while ($in = $rr->waitPayload()) { try { - $rr->send("", (string)$in->header); + $rr->respond(new RoadRunner\Payload("", (string)$in->header)); } catch (\Throwable $e) { $rr->error((string)$e); } -- cgit v1.2.3