summaryrefslogtreecommitdiff
path: root/src/Worker.php
diff options
context:
space:
mode:
authorWolfy-J <[email protected]>2019-01-05 16:13:00 +0300
committerWolfy-J <[email protected]>2019-01-05 16:13:00 +0300
commit40d66629617f7a96b9005df356b94ab3b4dfb98f (patch)
tree9901e93d20d57affbdbc88963956c78586eb0b00 /src/Worker.php
parentd890e973c45fbe53916304321f185ce940776bb7 (diff)
zend factory dependency elliminated
Diffstat (limited to 'src/Worker.php')
-rw-r--r--src/Worker.php4
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) {