@@ -167,7 +167,7 @@ discard block |
||
167 | 167 | |
168 | 168 | /** |
169 | 169 | * Gets all tunnels |
170 | - * @return TunnelInterface[] |
|
170 | + * @return TunnelInterface |
|
171 | 171 | */ |
172 | 172 | public function getTunnels() |
173 | 173 | { |
@@ -204,7 +204,7 @@ discard block |
||
204 | 204 | * Finds the matching tunnel |
205 | 205 | * @param array $tunnelInfo |
206 | 206 | * @throws RuntimeException |
207 | - * @return false|TunnelInterface |
|
207 | + * @return TunnelInterface |
|
208 | 208 | */ |
209 | 209 | public function findTunnel($tunnelInfo) |
210 | 210 | { |
@@ -9,7 +9,6 @@ |
||
9 | 9 | use Spike\Client\Application; |
10 | 10 | use Spike\Client\EventStore; |
11 | 11 | use Spike\Logger\Logger; |
12 | -use Symfony\Component\Console\Output\OutputInterface; |
|
13 | 12 | |
14 | 13 | class LoggerSubscriber extends Subscriber |
15 | 14 | { |
@@ -51,6 +51,10 @@ |
||
51 | 51 | */ |
52 | 52 | protected $initBuffer; |
53 | 53 | |
54 | + /** |
|
55 | + * @param string $proxyConnectionId |
|
56 | + * @param string $serverAddress |
|
57 | + */ |
|
54 | 58 | public function __construct(TunnelInterface $tunnel, $proxyConnectionId, $serverAddress, LoopInterface $loop) |
55 | 59 | { |
56 | 60 | $this->tunnel = $tunnel; |
@@ -68,6 +68,9 @@ discard block |
||
68 | 68 | */ |
69 | 69 | protected $clients; |
70 | 70 | |
71 | + /** |
|
72 | + * @param string $address |
|
73 | + */ |
|
71 | 74 | public function __construct($address, AuthenticationInterface $authentication, LoopInterface $loop = null, Dispatcher $dispatcher = null) |
72 | 75 | { |
73 | 76 | list($this->host, $this->port) = Utility::parseAddress($address); |
@@ -199,7 +202,7 @@ discard block |
||
199 | 202 | |
200 | 203 | /** |
201 | 204 | * Gets all tunnel server |
202 | - * @return TunnelServerCollection |
|
205 | + * @return TunnelServerInterface[] |
|
203 | 206 | */ |
204 | 207 | public function getTunnelServers() |
205 | 208 | { |
@@ -6,7 +6,6 @@ |
||
6 | 6 | namespace Spike\Server\TunnelServer; |
7 | 7 | |
8 | 8 | use React\Socket\ConnectionInterface; |
9 | -use React\Stream\DuplexStreamInterface; |
|
10 | 9 | |
11 | 10 | class ProxyConnection |
12 | 11 | { |