Skip to content

Commit 17dcac9

Browse files
github-actionsgithub-actions[bot]
authored andcommitted
style(php-cs-fixer): fix coding standards
1 parent fb46bae commit 17dcac9

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/Dispatcher/Routes/PromptRoute.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ private function handlePromptGet(GetPromptRequest $request, Context $context): G
7676
throw McpServerException::invalidParams("Prompt '{$promptName}' not found.");
7777
}
7878

79-
$arguments = (array)$arguments;
79+
$arguments = (array) $arguments;
8080

8181
foreach ($registeredPrompt->schema->arguments as $argDef) {
8282
if ($argDef->required && !\array_key_exists($argDef->name, $arguments)) {

src/Protocol.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ public function processMessage(
135135
if ($session === null) {
136136
$error = Error::forInvalidRequest(
137137
'Invalid or expired session. Please re-initialize the session.',
138-
(string)$message->getId(),
138+
(string) $message->getId(),
139139
);
140140
$messageContext['status_code'] = 404;
141141

@@ -216,8 +216,8 @@ public function sendNotification(Notification $notification, string $sessionId):
216216
->catch(
217217
static fn(\Throwable $e)
218218
=> reject(
219-
new McpServerException('Failed to send notification: ' . $e->getMessage(), previous: $e),
220-
),
219+
new McpServerException('Failed to send notification: ' . $e->getMessage(), previous: $e),
220+
),
221221
);
222222
}
223223

0 commit comments

Comments
 (0)