File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -287,7 +287,7 @@ public function toJsonRpcError(): object
287287 unset($ data ['success ' ], $ data ['error ' ]);
288288
289289 return new \Mcp \Schema \JsonRpc \Error (
290- null , // JSON-RPC request ID (null for notifications/errors )
290+ 0 , // JSON-RPC request ID (0 as placeholder when ID unknown )
291291 $ primary ->getJsonRpcCode (),
292292 $ this ->getSummaryMessage (),
293293 $ data
Original file line number Diff line number Diff line change @@ -384,7 +384,7 @@ public function toJsonRpcError(): object
384384 unset($ data ['success ' ], $ data ['error ' ]);
385385
386386 return new \Mcp \Schema \JsonRpc \Error (
387- null , // JSON-RPC request ID (null for notifications/errors )
387+ 0 , // JSON-RPC request ID (0 as placeholder when ID unknown )
388388 $ this ->getJsonRpcCode (),
389389 $ this ->getMessage (),
390390 empty ($ data ) ? null : $ data
You can’t perform that action at this time.
0 commit comments