Skip to content

Commit 2733c4c

Browse files
committed
chore: fixes static analysis
1 parent 180776d commit 2733c4c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Server/Transport/HttpTransport.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ public function run(): Response|StreamedResponse
5252
}
5353

5454
// Must be 202 - https://modelcontextprotocol.io/specification/2025-06-18/basic/transports#sending-messages-to-the-server
55-
$statusCode = $this->reply === null || $this->reply === '' || $this->reply === '0' ? 202 : 200;
55+
$statusCode = $this->reply === null ? 202 : 200;
5656
$response = response($this->reply, $statusCode, $this->getHeaders());
5757

5858
assert($response instanceof Response);

0 commit comments

Comments
 (0)