diff --git a/test/Resque/Tests/bootstrap.php b/test/Resque/Tests/bootstrap.php index c7ded09..03f7e56 100644 --- a/test/Resque/Tests/bootstrap.php +++ b/test/Resque/Tests/bootstrap.php @@ -59,7 +59,7 @@ function killRedis($pid) $pidFile = TEST_MISC . '/' . $matches[1]; $pid = trim(file_get_contents($pidFile)); - posix_kill($pid, 9); + posix_kill((int) $pid, 9); if(is_file($pidFile)) { unlink($pidFile);