Fix PHPDoc type of GetPromptRequest::$arguments (#285)

This commit is contained in:
Sergei Predvoditelev 2026-04-20 22:13:58 +03:00 • committed by GitHub
commit d5b00cd8ae
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,7 @@ final class GetPromptRequest extends Request
{ {
/** /**
* @param string $name the name of the prompt to get * @param string $name the name of the prompt to get
* @param array<string, mixed>|null $arguments the arguments to pass to the prompt * @param array<string, string>|null $arguments the arguments to pass to the prompt
*/ */
public function __construct( public function __construct(
public readonly string $name, public readonly string $name,
@ -56,7 +56,7 @@ final class GetPromptRequest extends Request
} }
/** /**
* @return array{name: string, arguments?: array<string, mixed>} * @return array{name: string, arguments?: array<string, string>}
*/ */
protected function getParams(): array protected function getParams(): array
{ {