Skip to content

Commit 62b4a39

Browse files
committed
formatting fixes
1 parent 36bbf84 commit 62b4a39

4 files changed

Lines changed: 16 additions & 17 deletions

File tree

src/Capability/Discovery/CachedDiscoverer.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ public function __construct(
3838
/**
3939
* Discover MCP elements in the specified directories with caching.
4040
*
41-
* @param string $basePath the base path for resolving directories
42-
* @param array<string> $directories list of directories (relative to base path) to scan
43-
* @param array<string> $excludeDirs list of directories (relative to base path) to exclude from the scan
44-
* @param array<string> $namePatterns list of file name patterns for the scan. Compatible with Finder->name()
41+
* @param string $basePath the base path for resolving directories
42+
* @param array<string> $directories list of directories (relative to base path) to scan
43+
* @param array<string> $excludeDirs list of directories (relative to base path) to exclude from the scan
44+
* @param array<string> $namePatterns list of file name patterns for the scan. Compatible with Finder->name()
4545
*/
4646
public function discover(string $basePath, array $directories, array $excludeDirs = [], array $namePatterns = self::DEFAULT_NAME_PATERNS): DiscoveryState
4747
{

src/Capability/Discovery/Discoverer.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ public function __construct(
6565
/**
6666
* Discover MCP elements in the specified directories and return the discovery state.
6767
*
68-
* @param string $basePath the base path for resolving directories
69-
* @param array<string> $directories list of directories (relative to base path) to scan
70-
* @param array<string> $excludeDirs list of directories (relative to base path) to exclude from the scan
71-
* @param array<string> $namePatterns list of file name patterns for the scan. Compatible with Finder->name()
68+
* @param string $basePath the base path for resolving directories
69+
* @param array<string> $directories list of directories (relative to base path) to scan
70+
* @param array<string> $excludeDirs list of directories (relative to base path) to exclude from the scan
71+
* @param array<string> $namePatterns list of file name patterns for the scan. Compatible with Finder->name()
7272
*/
7373
public function discover(string $basePath, array $directories, array $excludeDirs = [], array $namePatterns = self::DEFAULT_NAME_PATERNS): DiscoveryState
7474
{

src/Capability/Discovery/DiscovererInterface.php

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,16 +20,15 @@
2020
*/
2121
interface DiscovererInterface
2222
{
23-
24-
public const DEFAULT_NAME_PATERNS = ['*.php'];
23+
public const DEFAULT_NAME_PATERNS = ['*.php'];
2524

2625
/**
2726
* Discover MCP elements in the specified directories and return the discovery state.
2827
*
29-
* @param string $basePath the base path for resolving directories
30-
* @param array<string> $directories list of directories (relative to base path) to scan
31-
* @param array<string> $excludeDirs list of directories (relative to base path) to exclude from the scan
32-
* @param array<string> $namePatterns list of file name patterns for the scan. Compatible with Finder->name()
28+
* @param string $basePath the base path for resolving directories
29+
* @param array<string> $directories list of directories (relative to base path) to scan
30+
* @param array<string> $excludeDirs list of directories (relative to base path) to exclude from the scan
31+
* @param array<string> $namePatterns list of file name patterns for the scan. Compatible with Finder->name()
3332
*/
3433
public function discover(string $basePath, array $directories, array $excludeDirs = [], array $namePatterns = self::DEFAULT_NAME_PATERNS): DiscoveryState;
3534
}

src/Server/Builder.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -351,9 +351,9 @@ public function setSession(
351351
}
352352

353353
/**
354-
* @param string[] $scanDirs
355-
* @param string[] $excludeDirs
356-
* @param string[] $namePatterns
354+
* @param string[] $scanDirs
355+
* @param string[] $excludeDirs
356+
* @param string[] $namePatterns
357357
*/
358358
public function setDiscovery(
359359
string $basePath,

0 commit comments

Comments
 (0)