Code Duplication    Length = 2-2 lines in 2 locations

src/Http/Client.php 2 locations

@@ 122-123 (lines=2) @@
119
            throw new \BadFunctionCallException('Procedure not found: ' . $body['error']['message'], $body['error']['code']);
120
          case -32602:
121
            throw new \InvalidArgumentException('Invalid arguments: ' . $body['error']['message'], $body['error']['code']);
122
          case -32603:
123
            throw new \RuntimeException('Internal Error: ' . $body['error']['message'], $body['error']['code']);
124
          default:
125
            throw new \RuntimeException('Invalid request/response: ' . $body['error']['message'], $body['error']['code']);
126
        }
@@ 124-125 (lines=2) @@
121
            throw new \InvalidArgumentException('Invalid arguments: ' . $body['error']['message'], $body['error']['code']);
122
          case -32603:
123
            throw new \RuntimeException('Internal Error: ' . $body['error']['message'], $body['error']['code']);
124
          default:
125
            throw new \RuntimeException('Invalid request/response: ' . $body['error']['message'], $body['error']['code']);
126
        }
127
      }
128
    }