Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
#318 Fix PHPStan check
  • Loading branch information
Valentin V / vvval committed May 5, 2020
commit 7bc65d6ceb201da48537d85b8ac574ab8c326a1f
4 changes: 3 additions & 1 deletion src/Worker.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@

use Spiral\Goridge\Exceptions\GoridgeException;
use Spiral\Goridge\RelayInterface as Relay;
use Spiral\Goridge\SocketRelay;
use Spiral\Goridge\StreamRelay;
use Spiral\RoadRunner\Exception\RoadRunnerException;

/**
Expand All @@ -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 */
Expand Down