From f62431d2de7dcaf4f7ecc9acb674e975aeb1a442 Mon Sep 17 00:00:00 2001 From: Jonathan Renard Date: Tue, 10 Feb 2026 17:27:46 +0100 Subject: [PATCH] chore: remove final keyword on attributes classes --- src/Capability/Attribute/McpPrompt.php | 2 +- src/Capability/Attribute/McpResource.php | 2 +- src/Capability/Attribute/McpResourceTemplate.php | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/Capability/Attribute/McpPrompt.php b/src/Capability/Attribute/McpPrompt.php index 0737c18d..edb163ba 100644 --- a/src/Capability/Attribute/McpPrompt.php +++ b/src/Capability/Attribute/McpPrompt.php @@ -20,7 +20,7 @@ * @author Kyrian Obikwelu */ #[\Attribute(\Attribute::TARGET_METHOD | \Attribute::TARGET_CLASS)] -final class McpPrompt +class McpPrompt { /** * @param ?string $name overrides the prompt name (defaults to method name) diff --git a/src/Capability/Attribute/McpResource.php b/src/Capability/Attribute/McpResource.php index 2dcf85e6..80f309ca 100644 --- a/src/Capability/Attribute/McpResource.php +++ b/src/Capability/Attribute/McpResource.php @@ -21,7 +21,7 @@ * @author Kyrian Obikwelu */ #[\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. diff --git a/src/Capability/Attribute/McpResourceTemplate.php b/src/Capability/Attribute/McpResourceTemplate.php index 14e66c5f..0269f93a 100644 --- a/src/Capability/Attribute/McpResourceTemplate.php +++ b/src/Capability/Attribute/McpResourceTemplate.php @@ -20,7 +20,7 @@ * @author Kyrian Obikwelu */ #[\Attribute(\Attribute::TARGET_METHOD | \Attribute::TARGET_CLASS)] -final class McpResourceTemplate +class McpResourceTemplate { /** * @param string $uriTemplate the URI template string (RFC 6570)