Code Duplication    Length = 2-2 lines in 2 locations

src/Http/Client.php 2 locations

@@ 115-116 (lines=2) @@
112
            throw new \BadFunctionCallException('Procedure not found: ' . $body['error']['message'], $body['error']['code']);
113
          case -32602:
114
            throw new \InvalidArgumentException('Invalid arguments: ' . $body['error']['message'], $body['error']['code']);
115
          case -32603:
116
            throw new \RuntimeException('Internal Error: ' . $body['error']['message'], $body['error']['code']);
117
          default:
118
            throw new \RuntimeException('Invalid request/response: ' . $body['error']['message'], $body['error']['code']);
119
        }
@@ 117-118 (lines=2) @@
114
            throw new \InvalidArgumentException('Invalid arguments: ' . $body['error']['message'], $body['error']['code']);
115
          case -32603:
116
            throw new \RuntimeException('Internal Error: ' . $body['error']['message'], $body['error']['code']);
117
          default:
118
            throw new \RuntimeException('Invalid request/response: ' . $body['error']['message'], $body['error']['code']);
119
        }
120
      }
121
    }