Completed
Push — master ( e41b48...e132fe )
by Sergii
05:32
created
src/Routers/Router.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -282,7 +282,7 @@
 block discarded – undo
282 282
         if (is_string($callback)) {
283 283
             list($class, $method) = explode('&', $callback);
284 284
 
285
-            $callback = function (ConnectionOpenEvent $event) use ($class, $method) {
285
+            $callback = function(ConnectionOpenEvent $event) use ($class, $method) {
286 286
                 return $class::{$method}($event);
287 287
             };
288 288
         }
Please login to merge, or discard this patch.
src/WAMPServiceProvider.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
          */
50 50
         $this->app->singleton('wamp.run', '\sonrac\WAMP\Commands\RunServer');
51 51
 
52
-        $this->app->singleton('wampClient', function () use ($config) {
52
+        $this->app->singleton('wampClient', function() use ($config) {
53 53
             return new Client($config['realm']);
54 54
         });
55 55
 
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
             $this->app->alias($abstract[0], $alias);
75 75
         }
76 76
 
77
-        $this->app->singleton('sonrac\WAMP\Contracts\ClientTransportServiceProvider', function () use ($config) {
77
+        $this->app->singleton('sonrac\WAMP\Contracts\ClientTransportServiceProvider', function() use ($config) {
78 78
             return new RawSocketClientTransportProvider($config['host'], $config['port']);
79 79
         });
80 80
 
Please login to merge, or discard this patch.
src/Routers/RouterTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -202,7 +202,7 @@
 block discarded – undo
202 202
 
203 203
         $callback = explode('&', $callback);
204 204
 
205
-        return function () use ($callback, $namespace) {
205
+        return function() use ($callback, $namespace) {
206 206
             if (count($callback) === 1) {
207 207
                 return call_user_func_array([$this, $callback[0]], func_get_args());
208 208
             }
Please login to merge, or discard this patch.