chore: remove final keyword on attributes classes (#240)
Co-authored-by: Jonathan Renard <jRenard@PRESTAMAC-175.local>
This commit is contained in:
parent
1f5f7e16a3
commit
a98e01a4be
3 changed files with 3 additions and 3 deletions
|
|
@ -20,7 +20,7 @@ use Mcp\Schema\Icon;
|
||||||
* @author Kyrian Obikwelu <koshnawaza@gmail.com>
|
* @author Kyrian Obikwelu <koshnawaza@gmail.com>
|
||||||
*/
|
*/
|
||||||
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::TARGET_CLASS)]
|
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::TARGET_CLASS)]
|
||||||
final class McpPrompt
|
class McpPrompt
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @param ?string $name overrides the prompt name (defaults to method name)
|
* @param ?string $name overrides the prompt name (defaults to method name)
|
||||||
|
|
|
||||||
|
|
@ -21,7 +21,7 @@ use Mcp\Schema\Icon;
|
||||||
* @author Kyrian Obikwelu <koshnawaza@gmail.com>
|
* @author Kyrian Obikwelu <koshnawaza@gmail.com>
|
||||||
*/
|
*/
|
||||||
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::TARGET_CLASS)]
|
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::TARGET_CLASS)]
|
||||||
final class McpResource
|
class McpResource
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @param string $uri The specific URI identifying this resource instance. Must be unique within the server.
|
* @param string $uri The specific URI identifying this resource instance. Must be unique within the server.
|
||||||
|
|
|
||||||
|
|
@ -20,7 +20,7 @@ use Mcp\Schema\Annotations;
|
||||||
* @author Kyrian Obikwelu <koshnawaza@gmail.com>
|
* @author Kyrian Obikwelu <koshnawaza@gmail.com>
|
||||||
*/
|
*/
|
||||||
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::TARGET_CLASS)]
|
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::TARGET_CLASS)]
|
||||||
final class McpResourceTemplate
|
class McpResourceTemplate
|
||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* @param string $uriTemplate the URI template string (RFC 6570)
|
* @param string $uriTemplate the URI template string (RFC 6570)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue