Completed
Push — master ( 5c8063...9a2413 )
by Taosikai
13:00
created
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/Client.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 block discarded – undo
329 329
 
330 330
     /**
331 331
      * Creates default timers
332
-     * @return TimerInterface[]
332
+     * @return MemoryWatcher[]
333 333
      */
334 334
     protected function getDefaultTimers()
335 335
     {
Please login to merge, or discard this patch.
src/Client/Command/InitCommand.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@
 block discarded – undo
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
     {
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
@@ -55,6 +55,10 @@
 block discarded – undo
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;
Please login to merge, or discard this patch.
src/Server/Application.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;
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;
Please login to merge, or discard this patch.
src/Server/Configuration.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;
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
 
Please login to merge, or discard this patch.
src/Server/Handler/RegisterProxyHandler.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,6 @@
 block discarded – undo
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
 
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
@@ -81,6 +81,9 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
     {
Please login to merge, or discard this patch.
src/Server/TunnelServer/TunnelServer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -182,7 +182,7 @@
 block discarded – undo
182 182
 
183 183
     /**
184 184
      * Creates default timers
185
-     * @return TimerInterface[]
185
+     * @return ReviewPublicConnection[]
186 186
      */
187 187
     protected function getDefaultTimers()
188 188
     {
Please login to merge, or discard this patch.