Skip to content

Commit 5d5ea13

Browse files
author
larry.sulebalogun
committed
10 - Resolve php cs fixer issues
1 parent dff5bf0 commit 5d5ea13

File tree

3 files changed

+0
-34
lines changed

3 files changed

+0
-34
lines changed

src/Capability/Registry.php

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -247,10 +247,6 @@ public function getPrompt(string $name): ?PromptReference
247247

248248
/**
249249
* Gets all registered tools.
250-
*
251-
* @param int|null $limit
252-
* @param string|null $cursor
253-
* @return ReferencePage
254250
*/
255251
public function getTools(?int $limit = null, ?string $cursor = null): ReferencePage
256252
{
@@ -276,10 +272,6 @@ public function getTools(?int $limit = null, ?string $cursor = null): ReferenceP
276272

277273
/**
278274
* Gets all registered resources.
279-
*
280-
* @param int|null $limit
281-
* @param string|null $cursor
282-
* @return ReferencePage
283275
*/
284276
public function getResources(?int $limit = null, ?string $cursor = null): ReferencePage
285277
{
@@ -305,10 +297,6 @@ public function getResources(?int $limit = null, ?string $cursor = null): Refere
305297

306298
/**
307299
* Gets all registered prompts.
308-
*
309-
* @param int|null $limit
310-
* @param string|null $cursor
311-
* @return ReferencePage
312300
*/
313301
public function getPrompts(?int $limit = null, ?string $cursor = null): ReferencePage
314302
{
@@ -334,10 +322,6 @@ public function getPrompts(?int $limit = null, ?string $cursor = null): Referenc
334322

335323
/**
336324
* Gets all registered resource templates.
337-
*
338-
* @param int|null $limit
339-
* @param string|null $cursor
340-
* @return ReferencePage
341325
*/
342326
public function getResourceTemplates(?int $limit = null, ?string $cursor = null): ReferencePage
343327
{

src/Capability/Registry/ReferenceProviderInterface.php

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
namespace Mcp\Capability\Registry;
1313

1414
use Mcp\Schema\Prompt;
15-
use Mcp\Schema\ResourceTemplate;
1615
use Mcp\Schema\Tool;
1716
use Mcp\Server\RequestHandler\ReferencePage;
1817

@@ -46,37 +45,21 @@ public function getPrompt(string $name): ?PromptReference;
4645

4746
/**
4847
* Gets all registered tools.
49-
*
50-
* @param int|null $limit
51-
* @param string|null $cursor
52-
* @return ReferencePage
5348
*/
5449
public function getTools(?int $limit = null, ?string $cursor = null): ReferencePage;
5550

5651
/**
5752
* Gets all registered resources.
58-
*
59-
* @param int|null $limit
60-
* @param string|null $cursor
61-
* @return ReferencePage
6253
*/
6354
public function getResources(?int $limit = null, ?string $cursor = null): ReferencePage;
6455

6556
/**
6657
* Gets all registered prompts.
67-
*
68-
* @param int|null $limit
69-
* @param string|null $cursor
70-
* @return ReferencePage
7158
*/
7259
public function getPrompts(?int $limit = null, ?string $cursor = null): ReferencePage;
7360

7461
/**
7562
* Gets all registered resource templates.
76-
*
77-
* @param int|null $limit
78-
* @param string|null $cursor
79-
* @return ReferencePage
8063
*/
8164
public function getResourceTemplates(?int $limit = null, ?string $cursor = null): ReferencePage;
8265

src/Server/RequestHandler/ReferencePage.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ final class ReferencePage implements \Countable, \ArrayAccess
1818
{
1919
/**
2020
* @param array<int|string, mixed> $references Items can be Tool, Prompt, ResourceTemplate, or Resource
21-
* @param string|null $nextCursor
2221
*/
2322
public function __construct(
2423
public readonly array $references,

0 commit comments

Comments
 (0)