Completed
Pull Request — master (#447)
by Marcel
03:00 queued 01:29
created
src/API/Controller.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -227,7 +227,7 @@
 block discarded – undo
227 227
      * Ensure signature integrity coming from an
228 228
      * authorized application.
229 229
      *
230
-     * @param  \GuzzleHttp\Psr7\ServerRequest  $request
230
+     * @param  Request  $request
231 231
      * @return $this
232 232
      * @throws \Symfony\Component\HttpKernel\Exception\HttpException
233 233
      */
Please login to merge, or discard this patch.
src/API/FetchChannels.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@
 block discarded – undo
38 38
      * Handle the incoming request.
39 39
      *
40 40
      * @param  \Illuminate\Http\Request  $request
41
-     * @return \Illuminate\Http\Response
41
+     * @return \React\Promise\PromiseInterface
42 42
      */
43 43
     public function __invoke(Request $request)
44 44
     {
Please login to merge, or discard this patch.
Unused Use Statements   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,8 +5,8 @@
 block discarded – undo
5 5
 use BeyondCode\LaravelWebSockets\Channels\Channel;
6 6
 use Illuminate\Http\Request;
7 7
 use Illuminate\Support\Str;
8
-use stdClass;
9 8
 use Symfony\Component\HttpKernel\Exception\HttpException;
9
+use stdClass;
10 10
 
11 11
 class FetchChannels extends Controller
12 12
 {
Please login to merge, or discard this patch.
src/Apps/App.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -73,8 +73,6 @@
 block discarded – undo
73 73
      * Initialize the Web Socket app instance.
74 74
      *
75 75
      * @param  string|int  $appId
76
-     * @param  string  $key
77
-     * @param  string  $secret
78 76
      * @return void
79 77
      */
80 78
     public function __construct($appId, $appKey, $appSecret)
Please login to merge, or discard this patch.
src/Apps/ConfigAppManager.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,6 @@
 block discarded – undo
79 79
     /**
80 80
      * Map the app into an App instance.
81 81
      *
82
-     * @param  array|null  $app
83 82
      * @return \BeyondCode\LaravelWebSockets\Apps\App|null
84 83
      */
85 84
     protected function convertIntoApp(?array $appAttributes): ?App
Please login to merge, or discard this patch.
src/ChannelManagers/LocalChannelManager.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -252,7 +252,6 @@
 block discarded – undo
252 252
      * @param  \Ratchet\ConnectionInterface  $connection
253 253
      * @param  stdClass  $user
254 254
      * @param  string  $channel
255
-     * @param  stdClass  $payload
256 255
      * @return void
257 256
      */
258 257
     public function userLeftPresenceChannel(ConnectionInterface $connection, stdClass $user, string $channel)
Please login to merge, or discard this patch.
src/Contracts/ChannelManager.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -93,7 +93,6 @@  discard block
 block discarded – undo
93 93
     /**
94 94
      * Unsubscribe the connection from the channel.
95 95
      *
96
-     * @param  \Ratchet\ConnectionInterface  $connection
97 96
      * @param  string|int  $appId
98 97
      * @return void
99 98
      */
@@ -146,7 +145,6 @@  discard block
 block discarded – undo
146 145
      * @param  \Ratchet\ConnectionInterface  $connection
147 146
      * @param  stdClass  $user
148 147
      * @param  string  $channel
149
-     * @param  stdClass  $payload
150 148
      * @return void
151 149
      */
152 150
     public function userLeftPresenceChannel(ConnectionInterface $connection, stdClass $user, string $channel);
Please login to merge, or discard this patch.
src/Server/Loggers/ConnectionLogger.php 1 patch
Doc Comments   +1 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,8 +16,7 @@
 block discarded – undo
16 16
     /**
17 17
      * Create a new instance and add a connection to watch.
18 18
      *
19
-     * @param  \Ratchet\ConnectionInterface  $connection
20
-     * @return self
19
+     * @return ConnectionInterface
21 20
      */
22 21
     public static function decorate(ConnectionInterface $app): self
23 22
     {
Please login to merge, or discard this patch.
src/Server/Loggers/WebSocketsLogger.php 1 patch
Doc Comments   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,8 +20,8 @@  discard block
 block discarded – undo
20 20
     /**
21 21
      * Create a new instance and add the app to watch.
22 22
      *
23
-     * @param  \Ratchet\MessageComponentInterface  $app
24
-     * @return self
23
+     * @param  MessageComponentInterface  $app
24
+     * @return \Ratchet\ComponentInterface
25 25
      */
26 26
     public static function decorate(MessageComponentInterface $app): self
27 27
     {
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     /**
34 34
      * Set a new app to watch.
35 35
      *
36
-     * @param  \Ratchet\MessageComponentInterface  $app
36
+     * @param  MessageComponentInterface  $app
37 37
      * @return $this
38 38
      */
39 39
     public function setApp(MessageComponentInterface $app)
Please login to merge, or discard this patch.
src/Server/Router.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -2,7 +2,6 @@
 block discarded – undo
2 2
 
3 3
 namespace BeyondCode\LaravelWebSockets\Server;
4 4
 
5
-use BeyondCode\LaravelWebSockets\Server\Loggers\WebSocketsLogger;
6 5
 use Ratchet\WebSocket\MessageComponentInterface;
7 6
 use Ratchet\WebSocket\WsServer;
8 7
 use Symfony\Component\Routing\Route;
Please login to merge, or discard this patch.