Skip to content

Commit a249df3

Browse files
Apply suggestion from @chr-hertel
Co-authored-by: Christopher Hertel <mail@christopher-hertel.de>
1 parent 62b4a39 commit a249df3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/server-builder.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ $server = Server::builder()
110110
- `$scanDirs` (array): Directories to recursively scan for `#[McpTool]`, `#[McpResource]`, etc. All subdirectories are included. (default: `['.', 'src']`)
111111
- `$excludeDirs` (array): Directory names to exclude **within** the scanned directories during recursive scanning
112112
- `$cache` (CacheInterface|null): Optional PSR-16 cache to store discovered elements for performance
113-
- `$namePatterns` (array): Optional list of Finder->name() compatible patterns to match against file names (default: `['*.php']`)
113+
- `$namePatterns` (array): Optional list of patterns (regexp, glob, or string) for file names (default: `['*.php']`)
114114

115115
**Basic Discovery (scans current directory and `src/`):**
116116
```php

0 commit comments

Comments
 (0)