Skip to content

Commit a98e01a

Browse files
fox-johnJonathan Renard
andauthored
chore: remove final keyword on attributes classes (#240)
Co-authored-by: Jonathan Renard <jRenard@PRESTAMAC-175.local>
1 parent 1f5f7e1 commit a98e01a

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/Capability/Attribute/McpPrompt.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* @author Kyrian Obikwelu <koshnawaza@gmail.com>
2121
*/
2222
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::TARGET_CLASS)]
23-
final class McpPrompt
23+
class McpPrompt
2424
{
2525
/**
2626
* @param ?string $name overrides the prompt name (defaults to method name)

src/Capability/Attribute/McpResource.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
* @author Kyrian Obikwelu <koshnawaza@gmail.com>
2222
*/
2323
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::TARGET_CLASS)]
24-
final class McpResource
24+
class McpResource
2525
{
2626
/**
2727
* @param string $uri The specific URI identifying this resource instance. Must be unique within the server.

src/Capability/Attribute/McpResourceTemplate.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* @author Kyrian Obikwelu <koshnawaza@gmail.com>
2121
*/
2222
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::TARGET_CLASS)]
23-
final class McpResourceTemplate
23+
class McpResourceTemplate
2424
{
2525
/**
2626
* @param string $uriTemplate the URI template string (RFC 6570)

0 commit comments

Comments
 (0)