This repository was archived by the owner on Feb 7, 2024. It is now read-only.
File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 13
13
use Illuminate \Support \Facades \Cache ;
14
14
use React \EventLoop \Factory as LoopFactory ;
15
15
use React \EventLoop \LoopInterface ;
16
- use Symfony \Component \Console \Output \OutputInterface ;
17
16
use function React \Promise \all ;
17
+ use Symfony \Component \Console \Output \OutputInterface ;
18
18
19
19
class StartServer extends Command
20
20
{
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public function send($data)
50
50
$ socketId = $ this ->connection ->socketId ?? null ;
51
51
$ appId = $ this ->connection ->app ->id ?? null ;
52
52
53
- $ this ->info ("[ {$ appId }][ {$ socketId }] Sending message " . ($ this ->verbose ? $ data : '' ));
53
+ $ this ->info ("[ {$ appId }][ {$ socketId }] Sending message " .($ this ->verbose ? $ data : '' ));
54
54
55
55
$ this ->connection ->send ($ data );
56
56
}
Original file line number Diff line number Diff line change @@ -67,7 +67,7 @@ public function onOpen(ConnectionInterface $connection)
67
67
*/
68
68
public function onMessage (ConnectionInterface $ connection , MessageInterface $ message )
69
69
{
70
- $ this ->info ("[ {$ connection ->app ->id }][ {$ connection ->socketId }] Received message " . ($ this ->verbose ? $ message ->getPayload () : '' ));
70
+ $ this ->info ("[ {$ connection ->app ->id }][ {$ connection ->socketId }] Received message " .($ this ->verbose ? $ message ->getPayload () : '' ));
71
71
72
72
$ this ->app ->onMessage (ConnectionLogger::decorate ($ connection ), $ message );
73
73
}
You can’t perform that action at this time.
0 commit comments