From d5b00cd8ae7d61b31e04a6b7a7dbf7ac84f0f4cb Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Mon, 20 Apr 2026 22:13:58 +0300 Subject: [PATCH] Fix PHPDoc type of `GetPromptRequest::$arguments` (#285) --- src/Schema/Request/GetPromptRequest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Schema/Request/GetPromptRequest.php b/src/Schema/Request/GetPromptRequest.php index bc6903f..5d91ff5 100644 --- a/src/Schema/Request/GetPromptRequest.php +++ b/src/Schema/Request/GetPromptRequest.php @@ -22,8 +22,8 @@ use Mcp\Schema\JsonRpc\Request; final class GetPromptRequest extends Request { /** - * @param string $name the name of the prompt to get - * @param array|null $arguments the arguments to pass to the prompt + * @param string $name the name of the prompt to get + * @param array|null $arguments the arguments to pass to the prompt */ public function __construct( public readonly string $name, @@ -56,7 +56,7 @@ final class GetPromptRequest extends Request } /** - * @return array{name: string, arguments?: array} + * @return array{name: string, arguments?: array} */ protected function getParams(): array {