Skip to content

Commit 947140e

Browse files
committed
Fix code style
1 parent c8256cb commit 947140e

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

src/Schema/Tool/Tool.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@
3838
* @template T
3939
* @template U of array<string, mixed>
4040
*
41-
* @param null|non-empty-string $description A human-readable description of the tool.
42-
* @param null|list<Icon> $icons Optional set of sized icons that the client can display in a user interface.
43-
* @param null|ToolAnnotations $annotations Optional additional tool information. Display name precedence order is:
44-
* `title`, `annotations.title`, then `name`.
45-
* @param null|array<string, mixed> $meta Reserved by MCP to allow clients and servers to attach
46-
* additional metadata to their interactions.
4741
* @param ToolSchema<covariant T, covariant U> $inputSchema A JSON Schema object defining the expected parameters for the tool.
42+
* @param null|non-empty-string $description A human-readable description of the tool.
4843
* @param null|ToolSchema<covariant T, covariant U> $outputSchema An optional JSON Schema object defining the structure of the tool's
49-
* output returned in the structuredContent field of a `CallToolResult`.
44+
* output returned in the structuredContent field of a `CallToolResult`.
45+
* @param null|list<Icon> $icons Optional set of sized icons that the client can display in a user interface.
46+
* @param null|ToolAnnotations $annotations Optional additional tool information. Display name precedence order is:
47+
* `title`, `annotations.title`, then `name`.
48+
* @param null|array<string, mixed> $meta Reserved by MCP to allow clients and servers to attach
49+
* additional metadata to their interactions.
5050
*/
5151
public function __construct(
5252
string $name,

src/Schema/Tool/ToolSchema/ObjectType.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ final class ObjectType extends ToolSchema
4343
* @template T
4444
* @template U of array<string, mixed>
4545
*
46-
* @param non-empty-string $name
46+
* @param non-empty-string $name
4747
* @param ToolSchema<covariant T, covariant U> ...$properties
4848
*/
4949
protected function __construct(string $name, ToolSchema ...$properties)

src/Schema/Tool/ToolSchema/ToolSchema.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public static function asNumber(string $name): NumberType
107107
* @template Tu
108108
* @template Tv of array<string, mixed>
109109
*
110-
* @param non-empty-string $name
110+
* @param non-empty-string $name
111111
* @param self<covariant Tu, covariant Tv> ...$properties
112112
*/
113113
public static function asObject(string $name, self ...$properties): ObjectType

0 commit comments

Comments
 (0)