Code Duplication    Length = 2-2 lines in 2 locations

src/Http/Client.php 2 locations

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