@@ -282,7 +282,7 @@ |
||
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 | } |
@@ -49,7 +49,7 @@ discard block |
||
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 |
||
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 |
@@ -202,7 +202,7 @@ |
||
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 | } |