File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ public function toArray(): array
112112 * @throws \RuntimeException If the result cannot be formatted.
113113 * @throws \JsonException If JSON encoding fails.
114114 */
115- protected function formatResult (mixed $ promptGenerationResult ): array
115+ private function formatResult (mixed $ promptGenerationResult ): array
116116 {
117117 if ($ promptGenerationResult instanceof PromptMessage) {
118118 return [$ promptGenerationResult ];
Original file line number Diff line number Diff line change 1212use Psr \Log \LoggerInterface ;
1313use Psr \Log \NullLogger ;
1414use React \EventLoop \LoopInterface ;
15+ use React \Socket \ServerInterface ;
1516use React \Socket \SocketServer ;
1617
1718final class HttpServer extends EventEmitter implements HttpServerInterface
1819{
19- public readonly SocketServer $ socket ;
20+ public readonly ServerInterface $ socket ;
2021 public readonly string $ mcpPath ;
2122 public readonly string $ protocol ;
2223 public readonly string $ listenAddress ;
You can’t perform that action at this time.
0 commit comments