@@ -158,7 +158,7 @@ |
||
| 158 | 158 | if (is_string($callback)) { |
| 159 | 159 | list($class, $method) = explode('&', $callback); |
| 160 | 160 | |
| 161 | - $callback = function (ConnectionOpenEvent $event) use ($class, $method) { |
|
| 161 | + $callback = function(ConnectionOpenEvent $event) use ($class, $method) { |
|
| 162 | 162 | $class = app()->make($class); |
| 163 | 163 | |
| 164 | 164 | return $class->{$method}($event); |