Passed
Push — master ( 47f014...eb9c5f )
by Mohammad
03:53
created
src/LaravelRatchetServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
         $this->publishes([
29 29
             __DIR__.'/config' => realpath('config'),
30 30
             __DIR__.'/Routes/published' => realpath('routes'),
31
-        ],'laravel-ratchet');
31
+        ], 'laravel-ratchet');
32 32
 
33 33
         if ($this->app['config']->get('laravel-ratchet') === null) {
34 34
             $this->app['config']->set('laravel-ratchet', require __DIR__.'/config/laravel-ratchet.php');
@@ -42,7 +42,7 @@  discard block
 block discarded – undo
42 42
      */
43 43
     public function register()
44 44
     {
45
-        $this->app->bind('WsRoute',function (){
45
+        $this->app->bind('WsRoute', function() {
46 46
             return new Routes();
47 47
         });
48 48
     }
Please login to merge, or discard this patch.
src/Receiver.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         $this->userAuthSocketMapper = [];
47 47
 
48 48
         $this->mainRoutes();
49
-        include base_path() . '/routes/websocket.php';
49
+        include base_path().'/routes/websocket.php';
50 50
         $this->routes = WsRoute::getRoutes();
51 51
     }
52 52
 
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 
76 76
             $this->checkForRequiredInMessage($msg, $from);
77 77
 
78
-            if(isset($msg->session))
78
+            if (isset($msg->session))
79 79
             {
80 80
                 \Session::setId($msg->session);
81 81
 
Please login to merge, or discard this patch.