Code Duplication    Length = 2-2 lines in 2 locations

src/Http/Client.php 2 locations

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