Skip to content

Commit cc4c9b2

Browse files
ashleyhindlegithub-actions[bot]
authored andcommitted
Fix code styling
1 parent 5919b50 commit cc4c9b2

File tree

8 files changed

+21
-14
lines changed

8 files changed

+21
-14
lines changed

src/BoostServiceProvider.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,8 @@ private function registerRoutes(): void
114114
/**
115115
* Build a string message for the log based on various input types. Single dimensional, and multi:
116116
* "data":[{"message":"Unhandled Promise Rejection","reason":{"name":"TypeError","message":"NetworkError when attempting to fetch resource.","stack":""}}]
117-
* @param array<mixed> $data
117+
*
118+
* @param array<mixed> $data
118119
*/
119120
protected function buildLogMessageFromData(array $data): string
120121
{

src/Concerns/MakesHttpRequests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public function get(string $url): Response
3030
}
3131

3232
/**
33-
* @param array<string, mixed> $json
33+
* @param array<string, mixed> $json
3434
*/
3535
public function json(string $url, array $json): Response
3636
{

src/Contracts/Ide.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ interface Ide
88
// Things to note: supports relative (absolute path required)? global mcp only? Prefer local file, but if global only we have to add the project name to the server name
99

1010
/**
11-
* @param array<int, string> $args
12-
* @param array<string, string> $env
11+
* @param array<int, string> $args
12+
* @param array<string, string> $env
1313
*/
1414
public function installMcp(string $key, string $command, array $args = [], array $env = []): bool;
1515
}

src/Install/Agents/FileMcpIde.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ public function mcpPath(): string
1414
}
1515

1616
/**
17-
* @param array<int, string> $args
18-
* @param array<string, string> $env
17+
* @param array<int, string> $args
18+
* @param array<string, string> $env
1919
*/
2020
public function installMcp(string $key, string $command, array $args = [], array $env = []): bool
2121
{

src/Install/Agents/ShellMcpIde.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ abstract class ShellMcpIde implements Ide
1010
protected string $shellCommand = 'echo "{command} {args} {env}"';
1111

1212
/**
13-
* @param array<int, string> $args
14-
* @param array<string, string> $env
13+
* @param array<int, string> $args
14+
* @param array<string, string> $env
1515
*/
1616
public function installMcp(string $key, string $command, array $args = [], array $env = []): bool
1717
{

src/Install/Cli/DisplayHelper.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
class DisplayHelper
66
{
77
/**
8-
* @param array<int, array<int|string, mixed>> $data
8+
* @param array<int, array<int|string, mixed>> $data
99
*/
1010
public static function datatable(array $data, int $cols = 80): void
1111
{
@@ -94,7 +94,7 @@ public static function datatable(array $data, int $cols = 80): void
9494
}
9595

9696
/**
97-
* @param array<int, string> $items
97+
* @param array<int, string> $items
9898
*/
9999
public static function grid(array $items, int $cols = 80): void
100100
{

src/Mcp/ToolExecutor.php

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ public function __construct()
1818

1919
/**
2020
* Execute a tool with the given arguments
21-
* @param array<string, mixed> $arguments
21+
*
22+
* @param array<string, mixed> $arguments
2223
*/
2324
public function execute(string $toolClass, array $arguments = []): ToolResult
2425
{
@@ -35,7 +36,8 @@ public function execute(string $toolClass, array $arguments = []): ToolResult
3536

3637
/**
3738
* Execute tool in a separate process for isolation
38-
* @param array<string, mixed> $arguments
39+
*
40+
* @param array<string, mixed> $arguments
3941
*/
4042
protected function executeInProcess(string $toolClass, array $arguments): ToolResult
4143
{
@@ -77,7 +79,8 @@ protected function executeInProcess(string $toolClass, array $arguments): ToolRe
7779

7880
/**
7981
* Execute tool inline (current process)
80-
* @param array<string, mixed> $arguments
82+
*
83+
* @param array<string, mixed> $arguments
8184
*/
8285
protected function executeInline(string $toolClass, array $arguments): ToolResult
8386
{
@@ -113,7 +116,8 @@ protected function getTimeout(): int
113116

114117
/**
115118
* Reconstruct a ToolResult from JSON data
116-
* @param array<string, mixed> $data
119+
*
120+
* @param array<string, mixed> $data
117121
*/
118122
protected function reconstructToolResult(array $data): ToolResult
119123
{

src/Mcp/ToolRegistry.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ class ToolRegistry
1111

1212
/**
1313
* Get all available tools based on the discovery logic from Boost server
14+
*
1415
* @return array<int, class-string>
1516
*/
1617
public static function getAvailableTools(): array
@@ -65,6 +66,7 @@ public static function clearCache(): void
6566

6667
/**
6768
* Get tool names (class basenames) mapped to their full class names
69+
*
6870
* @return array<string, class-string>
6971
*/
7072
public static function getToolNames(): array

0 commit comments

Comments
 (0)