@@ -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; |
@@ -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 | { |
@@ -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 | { |