Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: fox-john/php-mcp-schema
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: php-mcp/schema
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 4 commits
  • 3 files changed
  • 2 contributors

Commits on Jul 25, 2025

  1. Normalize stdClass to array in Request::fromArray() for param type sa…

    …fety
    
    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)
    judus authored and CodeWithKyrian committed Jul 25, 2025
    Configuration menu
    Copy the full SHA
    6b6c962 View commit details
    Browse the repository at this point in the history
  2. Normalize 'arguments' in CallToolRequest::fromRequest()

    Fixes runtime issue where 'arguments' could be a stdClass when omitted or sent as {}.
    Casts to array and defaults to [] to ensure strict constructor contract.
    
    Related to php-mcp/server#53
    judus authored and CodeWithKyrian committed Jul 25, 2025
    Configuration menu
    Copy the full SHA
    380c4a0 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2ede1b2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    18f9f09 View commit details
    Browse the repository at this point in the history
Loading