Skip to content

Commit 6d6284a

Browse files
authored
Merge pull request #16 from laravel/add-docs-to-facade-for-phpstan
add docblock to Mcp facade
2 parents 417890c + 91a35c5 commit 6d6284a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

src/Server/Facades/Mcp.php

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,14 @@
66

77
use Illuminate\Support\Facades\Facade;
88

9+
/**
10+
* @method static void local(string $handle, string $serverClass)
11+
* @method static \Illuminate\Routing\Route web(string $handle, string $serverClass)
12+
* @method static callable|null getLocalServer(string $handle)
13+
* @method static string|null getWebServer(string $handle)
14+
*
15+
* @see \Laravel\Mcp\Server\Registrar
16+
*/
917
class Mcp extends Facade
1018
{
1119
/**

0 commit comments

Comments
 (0)