| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 12 | 
| Code Lines | 8 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 8 | 
| CRAP Score | 2 | 
| Changes | 0 | ||
| 1 | <?php | ||
| 34 | 2 | public function handle(JsonRpcRequest $jsonRpcRequest) : JsonRpcResponse | |
| 35 |     { | ||
| 36 |         try { | ||
| 37 | 2 | return $this->responseCreator->createResultResponse( | |
| 38 | 2 | $this->methodManager->apply( | |
| 39 | 2 | $jsonRpcRequest->getMethod(), | |
| 40 | 2 | $jsonRpcRequest->getParamList() | |
| 41 | ), | ||
| 42 | 1 | $jsonRpcRequest | |
| 43 | ); | ||
| 44 | 1 |         } catch (\Exception $exception) { | |
| 45 | 1 | return $this->responseCreator->createErrorResponse($exception, $jsonRpcRequest); | |
| 46 | } | ||
| 49 |