Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Capability/Attribute/McpPrompt.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* @author Kyrian Obikwelu <koshnawaza@gmail.com>
*/
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::TARGET_CLASS)]
final class McpPrompt
class McpPrompt
{
/**
* @param ?string $name overrides the prompt name (defaults to method name)
Expand Down
2 changes: 1 addition & 1 deletion src/Capability/Attribute/McpResource.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* @author Kyrian Obikwelu <koshnawaza@gmail.com>
*/
#[\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.
Expand Down
2 changes: 1 addition & 1 deletion src/Capability/Attribute/McpResourceTemplate.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* @author Kyrian Obikwelu <koshnawaza@gmail.com>
*/
#[\Attribute(\Attribute::TARGET_METHOD | \Attribute::TARGET_CLASS)]
final class McpResourceTemplate
class McpResourceTemplate
{
/**
* @param string $uriTemplate the URI template string (RFC 6570)
Expand Down