diff options
author | Wolfy-J <[email protected]> | 2019-01-05 16:13:00 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2019-01-05 16:13:00 +0300 |
commit | 40d66629617f7a96b9005df356b94ab3b4dfb98f (patch) | |
tree | 9901e93d20d57affbdbc88963956c78586eb0b00 /src/Worker.php | |
parent | d890e973c45fbe53916304321f185ce940776bb7 (diff) |
zend factory dependency elliminated
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) { |