@@ -54,7 +54,7 @@ |
||
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 | ); |
@@ -78,15 +78,15 @@ |
||
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 |