Skip to content

Commit 32f2de9

Browse files
committed
cs fix
1 parent 7bd23b3 commit 32f2de9

File tree

5 files changed

+4
-9
lines changed

5 files changed

+4
-9
lines changed

src/Capability/Tool/ToolCaller.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ public function __construct(
4040
}
4141

4242
/**
43-
* @throws ToolCallException if the tool execution fails
44-
* @throws ToolNotFoundException if the tool is not found
43+
* @throws ToolCallException if the tool execution fails
44+
* @throws ToolNotFoundException if the tool is not found
4545
*/
4646
public function call(CallToolRequest $request): CallToolResult
4747
{

src/Capability/Tool/ToolCallerInterface.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
interface ToolCallerInterface
2323
{
2424
/**
25-
* @throws ToolCallException if the tool execution fails
26-
* @throws ToolNotFoundException if the tool is not found
25+
* @throws ToolCallException if the tool execution fails
26+
* @throws ToolNotFoundException if the tool is not found
2727
*/
2828
public function call(CallToolRequest $request): CallToolResult;
2929
}

tests/Server/RequestHandler/CallToolHandlerTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
use Mcp\Exception\ToolNotFoundException;
1717
use Mcp\Schema\Content\TextContent;
1818
use Mcp\Schema\JsonRpc\Error;
19-
use Mcp\Schema\JsonRpc\Request;
2019
use Mcp\Schema\JsonRpc\Response;
2120
use Mcp\Schema\Request\CallToolRequest;
2221
use Mcp\Schema\Result\CallToolResult;

tests/Server/RequestHandler/GetPromptHandlerTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@
1818
use Mcp\Schema\Content\TextContent;
1919
use Mcp\Schema\Enum\Role;
2020
use Mcp\Schema\JsonRpc\Error;
21-
use Mcp\Schema\JsonRpc\Request;
2221
use Mcp\Schema\JsonRpc\Response;
2322
use Mcp\Schema\Request\GetPromptRequest;
2423
use Mcp\Schema\Result\GetPromptResult;
@@ -326,9 +325,7 @@ public function testHandlePromptGetWithLargeNumberOfArguments(): void
326325
}
327326

328327
/**
329-
* @param string $name
330328
* @param array<string, mixed>|null $arguments
331-
* @return GetPromptRequest
332329
*/
333330
private function createGetPromptRequest(string $name, ?array $arguments = null): GetPromptRequest
334331
{

tests/Server/RequestHandler/ReadResourceHandlerTest.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
use Mcp\Schema\Content\BlobResourceContents;
1818
use Mcp\Schema\Content\TextResourceContents;
1919
use Mcp\Schema\JsonRpc\Error;
20-
use Mcp\Schema\JsonRpc\Request;
2120
use Mcp\Schema\JsonRpc\Response;
2221
use Mcp\Schema\Request\ReadResourceRequest;
2322
use Mcp\Schema\Result\ReadResourceResult;

0 commit comments

Comments
 (0)