Skip to content

Commit d5b00cd

Browse files
authored
Fix PHPDoc type of GetPromptRequest::$arguments (#285)
1 parent 73e4cc2 commit d5b00cd

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/Schema/Request/GetPromptRequest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,8 @@
2222
final class GetPromptRequest extends Request
2323
{
2424
/**
25-
* @param string $name the name of the prompt to get
26-
* @param array<string, mixed>|null $arguments the arguments to pass to the prompt
25+
* @param string $name the name of the prompt to get
26+
* @param array<string, string>|null $arguments the arguments to pass to the prompt
2727
*/
2828
public function __construct(
2929
public readonly string $name,
@@ -56,7 +56,7 @@ protected static function fromParams(?array $params): static
5656
}
5757

5858
/**
59-
* @return array{name: string, arguments?: array<string, mixed>}
59+
* @return array{name: string, arguments?: array<string, string>}
6060
*/
6161
protected function getParams(): array
6262
{

0 commit comments

Comments
 (0)