Completed
Push — master ( 856b62...40300a )
by Sergii
07:49
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/Commands/DownWAMP.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
 
71 71
             if (count($content)) {
72 72
                 foreach ($content as $pid) {
73
-                    $pid = (int)trim($pid);
73
+                    $pid = (int) trim($pid);
74 74
 
75 75
                     if ($pid > 0) {
76 76
                         exec('kill '.$pid);
Please login to merge, or discard this patch.
src/Commands/RunCommandInBackground.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
     {
60 60
         exec($this->composeForRunInBackground(), $out, $pid);
61 61
 
62
-        return count($out) ? (int)$out[0] : null;
62
+        return count($out) ? (int) $out[0] : null;
63 63
     }
64 64
 
65 65
     /**
@@ -81,12 +81,12 @@  discard block
 block discarded – undo
81 81
     {
82 82
         $parts = [];
83 83
         if (!empty($this->before)) {
84
-            $parts[] = (string)$this->before;
84
+            $parts[] = (string) $this->before;
85 85
         }
86 86
         $parts[] = 'cd '.base_path();
87 87
         $parts[] = "{$this->phpBinary} {$this->getArtisan()} {$this->command}";
88 88
         if (!empty($this->after)) {
89
-            $parts[] = (string)$this->after;
89
+            $parts[] = (string) $this->after;
90 90
         }
91 91
 
92 92
         return implode(' && ', $parts);
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
@@ -203,7 +203,7 @@
 block discarded – undo
203 203
         $callback = explode('&', $callback);
204 204
         $self = $this;
205 205
 
206
-        return function () use ($callback, $namespace, $self) {
206
+        return function() use ($callback, $namespace, $self) {
207 207
             if (count($callback) === 1) {
208 208
                 return call_user_func_array([$this, $callback[0]], func_get_args());
209 209
             }
Please login to merge, or discard this patch.