File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
src/Services/ToolService/Annotation
tests/Services/ToolService Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 55class ToolAnnotation
66{
77 /**
8- * @var string A human-readable title for the tool, useful for UI display
8+ * @var string A human-readable title for the tool, useful for UI display
99 */
1010 private string $ title ;
1111
@@ -35,8 +35,7 @@ public function __construct(
3535 ?bool $ destructiveHint = null ,
3636 ?bool $ idempotentHint = null ,
3737 ?bool $ openWorldHint = null
38- )
39- {
38+ ) {
4039 $ this ->title = $ title ?? '- ' ;
4140 $ this ->readOnlyHint = $ readOnlyHint ?? false ;
4241 $ this ->destructiveHint = $ destructiveHint ?? true ;
Original file line number Diff line number Diff line change @@ -251,7 +251,7 @@ public function test_get_tool_schemas_includes_annotations_if_present(): void
251251 'readOnlyHint ' => false ,
252252 'destructiveHint ' => true ,
253253 'idempotentHint ' => false ,
254- 'openWorldHint ' => true
254+ 'openWorldHint ' => true ,
255255 ], $ schemas [0 ]['annotations ' ]);
256256 }
257257}
You can’t perform that action at this time.
0 commit comments