Skip to content

Commit 078be9e

Browse files
author
larry.sulebalogun
committed
10 - Resolve cs-fixer issues
1 parent 3900203 commit 078be9e

File tree

3 files changed

+12
-5
lines changed

3 files changed

+12
-5
lines changed

src/Capability/Registry.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,7 @@
2121
use Mcp\Event\ResourceListChangedEvent;
2222
use Mcp\Event\ResourceTemplateListChangedEvent;
2323
use Mcp\Event\ToolListChangedEvent;
24-
use Mcp\Exception\InvalidArgumentException;
2524
use Mcp\Exception\InvalidCursorException;
26-
use Mcp\Schema\Content\PromptMessage;
2725
use Mcp\Schema\Prompt;
2826
use Mcp\Schema\Resource;
2927
use Mcp\Schema\ResourceTemplate;
@@ -277,7 +275,7 @@ public function getTools(?int $limit = null, ?string $cursor = null): ReferenceP
277275
/**
278276
* Gets all registered resources.
279277
*
280-
* @return ReferencePage<Resource>
278+
* @return ReferencePage<resource>
281279
*/
282280
public function getResources(?int $limit = null, ?string $cursor = null): ReferencePage
283281
{

src/Capability/Registry/ReferenceProviderInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function getTools(?int $limit = null, ?string $cursor = null): ReferenceP
5454
/**
5555
* Gets all registered resources.
5656
*
57-
* @return ReferencePage<Resource>
57+
* @return ReferencePage<resource>
5858
*/
5959
public function getResources(?int $limit = null, ?string $cursor = null): ReferencePage;
6060

src/Server/RequestHandler/ReferencePage.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,14 @@
11
<?php
22

3+
/*
4+
* This file is part of the official PHP MCP SDK.
5+
*
6+
* A collaboration between Symfony and the PHP Foundation.
7+
*
8+
* For the full copyright and license information, please view the LICENSE
9+
* file that was distributed with this source code.
10+
*/
11+
312
namespace Mcp\Server\RequestHandler;
413

514
final class ReferencePage implements \Countable, \ArrayAccess
@@ -34,4 +43,4 @@ public function offsetUnset(mixed $offset): void
3443
{
3544
// TODO: Implement offsetUnset() method.
3645
}
37-
}
46+
}

0 commit comments

Comments
 (0)