summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin V / vvval <[email protected]>2020-05-05 16:43:17 +0300
committerValentin V / vvval <[email protected]>2020-05-05 16:43:17 +0300
commit7bc65d6ceb201da48537d85b8ac574ab8c326a1f (patch)
tree96df4188c32f16036e252354d3dbcfb9b320ba4d
parent3aea8252d5d256990429ff5b62b117b1d579c1a8 (diff)
#318 Fix PHPStan check
-rw-r--r--src/Worker.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Worker.php b/src/Worker.php
index 3d1888e3..2da16e86 100644
--- a/src/Worker.php
+++ b/src/Worker.php
@@ -11,6 +11,8 @@ namespace Spiral\RoadRunner;
use Spiral\Goridge\Exceptions\GoridgeException;
use Spiral\Goridge\RelayInterface as Relay;
+use Spiral\Goridge\SocketRelay;
+use Spiral\Goridge\StreamRelay;
use Spiral\RoadRunner\Exception\RoadRunnerException;
/**
@@ -28,7 +30,7 @@ class Worker
// Send as response context to request worker termination
public const STOP = '{"stop":true}';
- /** @var Relay */
+ /** @var Relay|StreamRelay|SocketRelay */
private $relay;
/** @var bool */