summaryrefslogtreecommitdiff
path: root/tests/slow-pid.php
diff options
context:
space:
mode:
authorAnton Titov <[email protected]>2021-02-18 16:44:10 +0300
committerGitHub <[email protected]>2021-02-18 16:44:10 +0300
commit546b350a35b35af9eecb61aab5f7bcbbaffd449f (patch)
tree836548aafc26bbc02471f0f30ff86a29c2696338 /tests/slow-pid.php
parent29f0d9e0da51f8c98c8d01e260eccfacf1072c01 (diff)
fix(php): PHP tests to use latest signatures (#550)
Diffstat (limited to 'tests/slow-pid.php')
-rw-r--r--tests/slow-pid.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/slow-pid.php b/tests/slow-pid.php
index 3660cb40..82785610 100644
--- a/tests/slow-pid.php
+++ b/tests/slow-pid.php
@@ -11,7 +11,7 @@
while ($in = $rr->waitPayload()) {
try {
sleep(1);
- $rr->send((string)getmypid());
+ $rr->respond(new RoadRunner\Payload((string)getmypid()));
} catch (\Throwable $e) {
$rr->error((string)$e);
}