diff options
Diffstat (limited to 'src/Worker.php')
-rw-r--r-- | src/Worker.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Worker.php b/src/Worker.php index 7f92a714..da80e461 100644 --- a/src/Worker.php +++ b/src/Worker.php @@ -1,4 +1,6 @@ <?php +declare(strict_types=1); + /** * High-performance PHP process supervisor and load balancer written in Go * @@ -132,7 +134,7 @@ class Worker * * @throws RoadRunnerException */ - private function handleControl(string $body = null, &$header = null, int $flags): bool + private function handleControl(string $body = null, &$header = null, int $flags = 0): bool { $header = $body; if (is_null($body) || $flags & Relay::PAYLOAD_RAW) { |