Completed
Push — master ( 2bc5ee...3171bd )
by Sergii
04:59
created
src/Routers/RPCRouter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -32,6 +32,6 @@
 block discarded – undo
32 32
     public function addRoute($path, $callback)
33 33
     {
34 34
         $data = $this->prepareCallback($callback);
35
-        return $this->getClientSession()->register($data-['prefix'].$path, $data['callback']);
35
+        return $this->getClientSession()->register($data - ['prefix'].$path, $data['callback']);
36 36
     }
37 37
 }
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
@@ -201,7 +201,7 @@
 block discarded – undo
201 201
         $callback = explode('&', $callback);
202 202
         $self = $this;
203 203
 
204
-        return function (ClientSession $clientSession) use ($callback, $namespace, $self) {
204
+        return function(ClientSession $clientSession) use ($callback, $namespace, $self) {
205 205
             if (count($callback) === 1) {
206 206
                 return $this->{$callback[0]}($clientSession, $self->getClient());
207 207
             }
Please login to merge, or discard this patch.