Skip to content

Commit e32ee7b

Browse files
committed
Fix PHPStan errors
Signed-off-by: Pushpak Chhajed <[email protected]>
1 parent e70c2e4 commit e32ee7b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Mcp/Methods/CallToolWithExecutor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ public function handle(JsonRpcRequest $request, ServerContext $context): JsonRpc
3838
}
3939

4040
$tool = $context
41-
->tools($request->toRequest())
41+
->tools()
4242
->first(
4343
fn ($tool): bool => $tool->name() === $request->params['name'],
4444
fn () => throw new JsonRpcException(

0 commit comments

Comments
 (0)