Commit 6b6c962
Normalize stdClass to array in Request::fromArray() for param type safety
Converts stdClass to an associative array when decoding 'params' in JsonRpc\Request,
ensuring type compliance with downstream DTOs.
Fixes php-mcp/server#53
See php-mcp/server#53 (comment)1 parent de8a32e commit 6b6c962
1 file changed
+3
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
0 commit comments