We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adf2c79 commit add4ce9Copy full SHA for add4ce9
1 file changed
src/Transport/HttpTransport.php
@@ -140,7 +140,7 @@ protected function validateJsonRpcResponse(array $jsonResponse): void
140
if (! isset($jsonResponse['jsonrpc']) ||
141
$jsonResponse['jsonrpc'] !== '2.0' ||
142
! isset($jsonResponse['id']) ||
143
- $jsonResponse['id'] !== (string) $this->requestId
+ (string) $jsonResponse['id'] !== (string) $this->requestId
144
) {
145
throw new TransportException(
146
'Invalid JSON-RPC 2.0 response received'
0 commit comments