Completed
Branch master (390e4e)
by Taosikai
14:19
created
src/Client/Client.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -167,7 +167,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Client/Subscriber/LoggerSubscriber.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -9,7 +9,6 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.
src/Client/TunnelClient/TunnelClient.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -51,6 +51,10 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Server/Server.php 1 patch
Doc Comments   +4 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Server/TunnelServer/ProxyConnection.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -6,7 +6,6 @@
 block discarded – undo
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
 {
Please login to merge, or discard this patch.