[Docs] Add blank line before lists so they render (#503)

This commit is contained in:
Christopher Hertel 2026-09-08 01:14:59 +02:00 • committed by GitHub
commit e7aa2d77de
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 18 additions and 0 deletions

View file

@ -169,6 +169,7 @@ $client->connect($transport);
```
The `connect()` method performs the MCP initialization handshake:
1. Opens the transport connection
2. Sends InitializeRequest with client capabilities
3. Waits for InitializeResult from server

View file

@ -18,6 +18,7 @@ $transport = new StdioTransport(
```
**Parameters:**
- `command` (string): The command to execute
- `args` (array): Command arguments
- `cwd` (string|null): Working directory for the process
@ -39,6 +40,7 @@ $transport = new HttpTransport(
```
**Parameters:**
- `endpoint` (string): The MCP server URL
- `headers` (array): Additional HTTP headers
- `httpClient` (ClientInterface|null): PSR-18 HTTP client (auto-discovered)
@ -50,6 +52,7 @@ $transport = new HttpTransport(
**PSR-18 Auto-Discovery:**
The transport automatically discovers PSR-18 HTTP clients from:
- `php-http/guzzle7-adapter`
- `php-http/curl-client`
- `symfony/http-client`