Passed
Push — master ( b99b13...498577 )
by Sergey
08:51
created
src/Definition/RpcAuthDefinition.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@
 block discarded – undo
54 54
                 'code'     => -32001,
55 55
                 'message'  => 'Access denied, you are not authorized',
56 56
                 'description' => 'The error occurs if the procedure requires authorization, '
57
-                 . 'but the user is not authorized.',
57
+                    . 'but the user is not authorized.',
58 58
                 'logLevel' => LogLevel::INFO,
59 59
             ]
60 60
         );
Please login to merge, or discard this patch.
src/RpcHandler.php 1 patch
Switch Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -78,15 +78,15 @@
 block discarded – undo
78 78
             $resArr = [];
79 79
             foreach ($data as $rpc) {
80 80
                 switch (true) {
81
-                case ($rpc instanceof stdClass):
82
-                    // TODO впилить паралельное выполнение, возможно amphp/amp
83
-                    $resArr[] = $this->oneRun(
84
-                        $rpcRun,
85
-                        $rpc
86
-                    );
87
-                    break;
88
-                default:
89
-                    $resArr[] = $this->getJsonStrError();
81
+                    case ($rpc instanceof stdClass):
82
+                        // TODO впилить паралельное выполнение, возможно amphp/amp
83
+                        $resArr[] = $this->oneRun(
84
+                            $rpcRun,
85
+                            $rpc
86
+                        );
87
+                        break;
88
+                    default:
89
+                        $resArr[] = $this->getJsonStrError();
90 90
                 }
91 91
             }
92 92
 
Please login to merge, or discard this patch.