@@ -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 | { |
@@ -216,7 +216,7 @@ discard block |
||
216 | 216 | |
217 | 217 | /** |
218 | 218 | * Gets all tunnels |
219 | - * @return TunnelInterface[] |
|
219 | + * @return TunnelInterface |
|
220 | 220 | */ |
221 | 221 | public function getTunnels() |
222 | 222 | { |
@@ -271,7 +271,7 @@ discard block |
||
271 | 271 | * Finds the matching tunnel |
272 | 272 | * @param array $tunnelInfo |
273 | 273 | * @throws RuntimeException |
274 | - * @return false|TunnelInterface |
|
274 | + * @return TunnelInterface |
|
275 | 275 | */ |
276 | 276 | public function findTunnel($tunnelInfo) |
277 | 277 | { |
@@ -329,7 +329,7 @@ discard block |
||
329 | 329 | |
330 | 330 | /** |
331 | 331 | * Creates default timers |
332 | - * @return TimerInterface[] |
|
332 | + * @return MemoryWatcher[] |
|
333 | 333 | */ |
334 | 334 | protected function getDefaultTimers() |
335 | 335 | { |
@@ -52,7 +52,7 @@ |
||
52 | 52 | |
53 | 53 | /** |
54 | 54 | * Gets all supported formats |
55 | - * @return array |
|
55 | + * @return string[] |
|
56 | 56 | */ |
57 | 57 | protected function getSupportedFormats() |
58 | 58 | { |
@@ -55,6 +55,10 @@ |
||
55 | 55 | |
56 | 56 | protected $client; |
57 | 57 | |
58 | + /** |
|
59 | + * @param string $proxyConnectionId |
|
60 | + * @param string $serverAddress |
|
61 | + */ |
|
58 | 62 | public function __construct(Client $client, TunnelInterface $tunnel, $proxyConnectionId, $serverAddress, LoopInterface $loop) |
59 | 63 | { |
60 | 64 | $this->client = $client; |
@@ -6,7 +6,6 @@ |
||
6 | 6 | namespace Spike\Server; |
7 | 7 | |
8 | 8 | use Spike\Application as BaseApplication; |
9 | -use GuzzleHttp\Psr7\Response; |
|
10 | 9 | use Slince\Event\SubscriberInterface; |
11 | 10 | use Spike\Server\Command\InitCommand; |
12 | 11 | use Spike\Server\Command\SpikeCommand; |
@@ -6,7 +6,6 @@ |
||
6 | 6 | namespace Spike\Server; |
7 | 7 | |
8 | 8 | use Spike\Authentication\AuthenticationInterface; |
9 | -use Spike\Exception\InvalidArgumentException; |
|
10 | 9 | use Spike\Configuration as BaseConfiguration; |
11 | 10 | use Spike\Authentication; |
12 | 11 |
@@ -7,7 +7,6 @@ |
||
7 | 7 | |
8 | 8 | use Spike\Exception\BadRequestException; |
9 | 9 | use Spike\Protocol\SpikeInterface; |
10 | -use Spike\Server\TunnelServer\TunnelServerInterface; |
|
11 | 10 | use Slince\Event\Event; |
12 | 11 | use Spike\Server\EventStore; |
13 | 12 |
@@ -81,6 +81,9 @@ discard block |
||
81 | 81 | */ |
82 | 82 | protected $logger; |
83 | 83 | |
84 | + /** |
|
85 | + * @param string $address |
|
86 | + */ |
|
84 | 87 | public function __construct( |
85 | 88 | $address, |
86 | 89 | AuthenticationInterface $authentication, |
@@ -211,7 +214,7 @@ discard block |
||
211 | 214 | |
212 | 215 | /** |
213 | 216 | * Gets all tunnel server |
214 | - * @return TunnelServerCollection |
|
217 | + * @return TunnelServerInterface[] |
|
215 | 218 | */ |
216 | 219 | public function getTunnelServers() |
217 | 220 | { |
@@ -182,7 +182,7 @@ |
||
182 | 182 | |
183 | 183 | /** |
184 | 184 | * Creates default timers |
185 | - * @return TimerInterface[] |
|
185 | + * @return ReviewPublicConnection[] |
|
186 | 186 | */ |
187 | 187 | protected function getDefaultTimers() |
188 | 188 | { |