Skip to content

Commit 41d3c44

Browse files
klapaudiusgithub-actions[bot]
authored andcommitted
Fix styling
1 parent 24e36df commit 41d3c44

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/Protocol/MCPProtocol.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -211,8 +211,8 @@ private function handleNotificationProcess(string $clientId, NotificationData $n
211211
/**
212212
* Pushes a message to a specified client.
213213
*
214-
* @param string $clientId The unique identifier of the client to push the message to.
215-
* @param array|JsonRpcResultResource|JsonRpcErrorResource $message The message to be pushed to the client, either as an array or an instance of JsonRpcResultResource/JsonRpcErrorResource.
214+
* @param string $clientId The unique identifier of the client to push the message to.
215+
* @param array|JsonRpcResultResource|JsonRpcErrorResource $message The message to be pushed to the client, either as an array or an instance of JsonRpcResultResource/JsonRpcErrorResource.
216216
*
217217
* @throws Exception If transport is unable to push the message to client
218218
*/
@@ -230,8 +230,8 @@ private function pushMessage(string $clientId, array|JsonRpcResultResource|JsonR
230230
/**
231231
* Process an incoming message from a specified client.
232232
*
233-
* @param string $clientId The unique identifier of the client.
234-
* @param array $message The message data to be processed.
233+
* @param string $clientId The unique identifier of the client.
234+
* @param array $message The message data to be processed.
235235
*
236236
* @throws Exception If the message cannot be processed
237237
*/

src/Server/Request/ToolsCallHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function execute(string $method, ?array $params = null): array
4242

4343
$tool = $this->toolRepository->getTool($name);
4444
if (! $tool) {
45-
throw new JsonRpcErrorException(message: "Tool '{$name}' not found", code: JsonRpcErrorCode::METHOD_NOT_FOUND, data:$params);
45+
throw new JsonRpcErrorException(message: "Tool '{$name}' not found", code: JsonRpcErrorCode::METHOD_NOT_FOUND, data: $params);
4646
}
4747

4848
$arguments = $params['arguments'] ?? [];

0 commit comments

Comments
 (0)