Skip to content

Commit bcc1a71

Browse files
klapaudiusgithub-actions[bot]
authored andcommitted
Fix styling
1 parent e365119 commit bcc1a71

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

tests/Command/TestMcpToolCommandTest.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
use KLP\KlpMcpServer\Command\TestMcpToolCommand;
66
use KLP\KlpMcpServer\Exceptions\TestMcpToolCommandException;
77
use KLP\KlpMcpServer\Services\ToolService\Examples\HelloWorldTool;
8-
use KLP\KlpMcpServer\Services\ToolService\Examples\VersionCheckTool;
98
use KLP\KlpMcpServer\Services\ToolService\Result\TextToolResult;
109
use KLP\KlpMcpServer\Services\ToolService\Result\ToolResultInterface;
1110
use KLP\KlpMcpServer\Services\ToolService\StreamableToolInterface;
@@ -74,7 +73,7 @@ public function test_get_tool_instance_no_tool_provided_ask_choice_from_configur
7473
$this->toolRepositoryMock
7574
->method('getTools')
7675
->willReturn([
77-
'hello-world' => $helloWorldTool
76+
'hello-world' => $helloWorldTool,
7877
]);
7978
$this->inputMock
8079
->method('getArgument')
@@ -132,7 +131,7 @@ public function test_get_tool_instance_matching_configured_tool_returns_tool_ins
132131
$this->toolRepositoryMock
133132
->method('getTools')
134133
->willReturn([
135-
'custom' => $toolMock
134+
'custom' => $toolMock,
136135
]);
137136

138137
$this->assertSame($toolMock, $this->invokeGetToolInstanceMethod());
@@ -182,7 +181,7 @@ public function test_get_tool_instance_tool_not_found_throws_exception(): void
182181
$this->toolRepositoryMock
183182
->method('getTools')
184183
->willReturn([
185-
'Valid Tool' => $validToolMock
184+
'Valid Tool' => $validToolMock,
186185
]);
187186

188187
$this->expectException(TestMcpToolCommandException::class);
@@ -522,7 +521,7 @@ public function test_list_all_tools_when_valid_tools_present_displays_table(): v
522521
->method('getTools')
523522
->willReturn([
524523
'Tool1' => $tool1,
525-
'Tool2' => $tool2
524+
'Tool2' => $tool2,
526525
]);
527526

528527
$toolMocks = [
@@ -556,7 +555,7 @@ public function test_list_all_tools_handles_tool_loading_exceptions_gracefully()
556555
$this->toolRepositoryMock
557556
->method('getTools')
558557
->willReturn([
559-
'hello-world' => $tool
558+
'hello-world' => $tool,
560559
]);
561560

562561
$this->ioMock

0 commit comments

Comments
 (0)