Code Duplication    Length = 2-2 lines in 2 locations

src/Http/Client.php 2 locations

@@ 143-144 (lines=2) @@
140
            throw new \BadFunctionCallException('Procedure not found: ' . $body['error']['message'], $body['error']['code']);
141
          case -32602:
142
            throw new \InvalidArgumentException('Invalid arguments: ' . $body['error']['message'], $body['error']['code']);
143
          case -32603:
144
            throw new \RuntimeException('Internal Error: ' . $body['error']['message'], $body['error']['code']);
145
          default:
146
            throw new \RuntimeException('Invalid request/response: ' . $body['error']['message'], $body['error']['code']);
147
        }
@@ 145-146 (lines=2) @@
142
            throw new \InvalidArgumentException('Invalid arguments: ' . $body['error']['message'], $body['error']['code']);
143
          case -32603:
144
            throw new \RuntimeException('Internal Error: ' . $body['error']['message'], $body['error']['code']);
145
          default:
146
            throw new \RuntimeException('Invalid request/response: ' . $body['error']['message'], $body['error']['code']);
147
        }
148
      }
149
    }