Completed
Push — master ( 4dc059...6205c3 )
by Sergii
19:21 queued 11:54
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   +4 added lines, -4 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,14 +74,14 @@  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
 
81 81
         /*
82 82
          * Register loggers
83 83
          */
84
-        $this->app->singleton('wamp.server.logger', function () use ($config) {
84
+        $this->app->singleton('wamp.server.logger', function() use ($config) {
85 85
             $fileName = isset($config['log_file_server']) && $config['log_file_server'] ? $config['log_file_server'] : 'wamp-server.log';
86 86
             $path = storage_path('logs/'.$fileName);
87 87
 
@@ -91,7 +91,7 @@  discard block
 block discarded – undo
91 91
             return new MonologLogger($fileName, [$handler]);
92 92
         });
93 93
 
94
-        $this->app->singleton('wamp.client.logger', function () use ($config) {
94
+        $this->app->singleton('wamp.client.logger', function() use ($config) {
95 95
             $fileName = isset($config['log_file_client']) && $config['log_file_client'] ? $config['log_file_client'] : 'wamp-client.log';
96 96
             $path = storage_path('logs/'.$fileName);
97 97
 
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
@@ -161,7 +161,7 @@
 block discarded – undo
161 161
 
162 162
         $callback = explode('@', $callback);
163 163
 
164
-        return function () use ($callback, $namespace) {
164
+        return function() use ($callback, $namespace) {
165 165
             if (count($callback) === 1) {
166 166
                 return app()->call([$this, $callback[0]], func_get_args());
167 167
             }
Please login to merge, or discard this patch.